mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 06:30:13 +05:30
Added invalid refresh token exception
This commit is contained in:
parent
5e6f0fc6a3
commit
a88c30cb53
@ -180,6 +180,15 @@ class OAuthServerException extends \Exception
|
||||
$hint
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invalid refresh token
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function invalidRefreshToken($hint = null)
|
||||
{
|
||||
return new static('The refresh token is invalid.', 'invalid_request', 400, $hint);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user