Property | Type | Description | |
---|---|---|---|
$client_id | |||
$client_secret | |||
$jsArguments | |||
$name | |||
$providerOptions | |||
$scope | |||
$title | |||
$type |
Method | Description | |
---|---|---|
fetchAttributes ( ) | ||
fetchJsonError ( stdClass $json ) : array | Returns the error info from json. | |
getAccessToken ( $code ) | ||
getCodeUrl ( $redirect_uri ) | ||
getTokenUrl ( $code ) | ||
saveAccessToken ( array $token ) | Save access token to the session. |
protected fetchJsonError ( stdClass $json ) : array | ||
$json | stdClass | the json response. |
return | array | the error array with 2 keys: code and message. Should be null if no errors. |
protected saveAccessToken ( array $token ) | ||
$token | array | access token array. |