Expose parameter passed to exceptions

This commit is contained in:
Mathieu Pipet
2015-06-09 17:30:13 +02:00
parent c174b6fc65
commit c84ea1ea62
7 changed files with 22 additions and 0 deletions

View File

@@ -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.',