authclient\BaseOAuth restoreAccessToken()

restoreAccessToken() protected method Restores access token. protected yii\authclient\OAuthToken restoreAccessToken ( )return yii\authclient\OAuthToken Auth token.

authclient\BaseOAuth removeState()

removeState() protected method Removes persistent state value. protected boolean removeState ( $key )$key string State key. return boolean Success.

authclient\BaseOAuth refreshAccessToken()

refreshAccessToken() public abstract method Gets new auth token to replace expired one. public abstract yii\authclient\OAuthToken refreshAccessToken ( yii\authclient\OAuthToken $token )$token yii\authclient\OAuthToken Expired auth token. return yii\authclient\OAuthToken New auth token.

authclient\BaseOAuth processResponse()

processResponse() protected method Processes raw response converting it to actual data. protected array processResponse ( $rawResponse, $contentType = self::CONTENT_TYPE_AUTO )$rawResponse string Raw response. $contentType string Response content type. return array Actual response. throws yii\base\Exception on failure.

authclient\BaseOAuth mergeCurlOptions()

mergeCurlOptions() protected method Merge CUrl options. If each options array has an element with the same key value, the latter will overwrite the former. protected array mergeCurlOptions ( $options1, $options2 )$options1 array Options to be merged to. $options2 array Options to be merged from. You can specify additional arrays via third argument, fourth argument etc. return array Merged options (the original options are not changed.)

authclient\BaseOAuth getStateKeyPrefix()

getStateKeyPrefix() protected method Returns session key prefix, which is used to store internal states. protected string getStateKeyPrefix ( )return string Session key prefix.

authclient\BaseOAuth getState()

getState() protected method Returns persistent state value. protected mixed getState ( $key )$key string State key. return mixed State value.

authclient\BaseOAuth getSignatureMethod()

getSignatureMethod() public method public yii\authclient\signature\BaseMethod getSignatureMethod ( )return yii\authclient\signature\BaseMethod Signature method instance.

authclient\BaseOAuth getReturnUrl()

getReturnUrl() public method public string getReturnUrl ( )return string Return URL.

authclient\BaseOAuth getCurlOptions()

getCurlOptions() public method public array getCurlOptions ( )return array CURL options.