mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Updated more docblocks
This commit is contained in:
		@@ -426,7 +426,7 @@ class Authorization
 | 
			
		||||
    /**
 | 
			
		||||
     * Return a grant type class
 | 
			
		||||
     * @param  string $grantType The grant type identifer
 | 
			
		||||
     * @return class
 | 
			
		||||
     * @return Grant\AuthCode|Grant\ClientCredentials|Grant\Implict|Grant\Password|Grant\RefreshToken
 | 
			
		||||
     */
 | 
			
		||||
    public function getGrantType($grantType)
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
@@ -94,7 +94,8 @@ class Password implements GrantTypeInterface {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Set the callback to verify a user's username and password
 | 
			
		||||
     * @param function $callback The callback function
 | 
			
		||||
     * @param callable $callback The callback function
 | 
			
		||||
     * @return void
 | 
			
		||||
     */
 | 
			
		||||
    public function setVerifyCredentialsCallback($callback)
 | 
			
		||||
    {
 | 
			
		||||
@@ -103,7 +104,7 @@ class Password implements GrantTypeInterface {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Return the callback function
 | 
			
		||||
     * @return function
 | 
			
		||||
     * @return callable
 | 
			
		||||
     */
 | 
			
		||||
    protected function getVerifyCredentialsCallback()
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
@@ -56,7 +56,7 @@ class RefreshToken implements GrantTypeInterface {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Constructor
 | 
			
		||||
     * @param AuthServer $authServer AuthServer instance
 | 
			
		||||
     * @param Authorization $authServer Authorization server instance
 | 
			
		||||
     * @return void
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct(Authorization $authServer)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user