mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
If the client should redirect during AuthCodeGrant authorisation then provide a redirect uri
This commit is contained in:
@@ -30,7 +30,7 @@ class InvalidScopeException extends OAuthException
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
||||
public function __construct($parameter, $shouldRedirect = false)
|
||||
public function __construct($parameter, $redirectUri = null)
|
||||
{
|
||||
parent::__construct(
|
||||
sprintf(
|
||||
@@ -39,6 +39,6 @@ class InvalidScopeException extends OAuthException
|
||||
)
|
||||
);
|
||||
|
||||
$this->serverShouldRedirect = $shouldRedirect;
|
||||
$this->redirectUri = $redirectUri;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user