mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +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