This commit is contained in:
Alex Bilbie
2014-08-06 09:53:47 +01:00
parent 130d42c85e
commit 522c7478c7
7 changed files with 109 additions and 68 deletions

View File

@@ -30,7 +30,7 @@ class InvalidScopeException extends OAuthException
* {@inheritdoc}
*/
public function __construct($parameter)
public function __construct($parameter, $shouldRedirect = false)
{
parent::__construct(
sprintf(
@@ -38,5 +38,7 @@ class InvalidScopeException extends OAuthException
$parameter
)
);
$this->serverShouldRedirect = $shouldRedirect;
}
}