mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-02-24 03:37:37 +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
|
* Return a grant type class
|
||||||
* @param string $grantType The grant type identifer
|
* @param string $grantType The grant type identifer
|
||||||
* @return class
|
* @return Grant\AuthCode|Grant\ClientCredentials|Grant\Implict|Grant\Password|Grant\RefreshToken
|
||||||
*/
|
*/
|
||||||
public function getGrantType($grantType)
|
public function getGrantType($grantType)
|
||||||
{
|
{
|
||||||
|
@ -94,7 +94,8 @@ class Password implements GrantTypeInterface {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the callback to verify a user's username and password
|
* 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)
|
public function setVerifyCredentialsCallback($callback)
|
||||||
{
|
{
|
||||||
@ -103,7 +104,7 @@ class Password implements GrantTypeInterface {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the callback function
|
* Return the callback function
|
||||||
* @return function
|
* @return callable
|
||||||
*/
|
*/
|
||||||
protected function getVerifyCredentialsCallback()
|
protected function getVerifyCredentialsCallback()
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,7 @@ class RefreshToken implements GrantTypeInterface {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
* @param AuthServer $authServer AuthServer instance
|
* @param Authorization $authServer Authorization server instance
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __construct(Authorization $authServer)
|
public function __construct(Authorization $authServer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user