mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-04-07 22:46:59 +05:30
Expose parameter passed to exceptions
This commit is contained in:
@@ -32,6 +32,7 @@ class InvalidGrantException extends OAuthException
|
||||
|
||||
public function __construct($parameter)
|
||||
{
|
||||
$this->parameter = parameter;
|
||||
parent::__construct(
|
||||
sprintf(
|
||||
'The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. Check the "%s" parameter.',
|
||||
|
||||
Reference in New Issue
Block a user