mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-02-23 19:27:42 +05:30
Updated more docblocks
This commit is contained in:
parent
787c8c566f
commit
1dd768545a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user