If the client should redirect during AuthCodeGrant authorisation then provide a redirect uri

This commit is contained in:
Alex Bilbie
2014-11-08 17:03:15 +00:00
parent b9debaab26
commit 6b29b7450e
6 changed files with 34 additions and 18 deletions

View File

@@ -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;
}
}