mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Expose parameter passed to exceptions
This commit is contained in:
@@ -32,6 +32,7 @@ class InvalidScopeException extends OAuthException
|
||||
|
||||
public function __construct($parameter, $redirectUri = null)
|
||||
{
|
||||
$this->parameter = parameter;
|
||||
parent::__construct(
|
||||
sprintf(
|
||||
'The requested scope is invalid, unknown, or malformed. Check the "%s" scope.',
|
||||
|
||||
Reference in New Issue
Block a user