mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-02-24 11:48:03 +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
|
$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…
x
Reference in New Issue
Block a user