Added invalid refresh token exception

This commit is contained in:
Alex Bilbie 2016-01-14 23:47:49 +00:00
parent 5e6f0fc6a3
commit a88c30cb53

View File

@ -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);
}
/**