14 public function __construct($oauthResult, \Exception $previous =
null)
16 $this->result = $oauthResult;
19 $this->result[
'error_description'] ??
'',
21 isset($oauthResult[
"error_status"])
22 ? $oauthResult[
"error_status"]
23 : \CRestServer::STATUS_UNAUTHORIZED,
27 if(isset($oauthResult[
'additional']) && is_array($oauthResult[
'additional']))