public function __construct($message = 'Givent grant token is invalid or expired', \Exception $previous = NULL) { parent::__construct($message, 400, $previous); }
/** * {@inheritdoc} */ public function __construct() { parent::__construct('The resource owner or authorization server denied the request.'); }
/** * {@inheritdoc} */ public function __construct($parameter, $redirectUri = null) { parent::__construct(sprintf('The requested scope is invalid, unknown, or malformed. Check the "%s" scope.', $parameter)); $this->redirectUri = $redirectUri; }
public function __construct($message = "Access denied") { $code = 403; $previous = null; parent::__construct($message, $code, $previous); }
/** * {@inheritdoc} */ public function __construct() { parent::__construct('The client is not authorized to request an access token using this method.'); }
/** * {@inheritdoc} */ public function __construct($parameter, $redirectUri = null) { parent::__construct('The authorization server does not support obtaining an access token using this method.'); $this->redirectUri = $redirectUri; }
function __construct($params) { $this->resp = $params; parse_str($params, $this->params); parent::__construct($this->params['oauth_problem']); }
/** * {@inheritdoc} */ public function __construct($parameter = null) { $parameter = is_null($parameter) ? 'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.' : $parameter; parent::__construct($parameter); }
public function __construct($stringToSign, \Exception $e) { parent::__construct("Error while signing string: " + $stringToSign, $e); }
/** * {@inheritdoc} */ public function __construct() { parent::__construct('Client authentication failed.'); }
public function __construct($name, $type) { $this->type = $type; parent::__construct($name); }
/** * {@inheritdoc} */ public function __construct($parameter) { parent::__construct(sprintf('The authorization grant type "%s" is not supported by the authorization server.', $parameter)); }
public function __construct($message = "Authentication failed") { $code = 403; $previous = null; parent::__construct($message, $code, $previous); }
/** * {@inheritdoc} */ public function __construct($parameter) { parent::__construct(sprintf('The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. Check the "%s" parameter.', $parameter)); }
public static function make($code, $params = [], \Exception $previous = null) { $results = static::initialize($code, $params); $e = new OAuthException($results['message'], $code, $previous); $e->setName($results['name']); return $e; }
/** * {@inheritdoc} */ public function __construct($parameter, $redirectUri = null) { $this->parameter = $parameter; parent::__construct(sprintf('The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "%s" parameter.', $parameter)); $this->redirectUri = $redirectUri; }
/** * {@inheritdoc} */ public function __construct() { parent::__construct('The user credentials were incorrect.'); }
/** * {@inheritdoc} */ public function __construct() { parent::__construct('The refresh token is invalid.'); }
function __construct() { $message = "Token failure"; parent::__construct($message); }