fetchAccessToken() public method
Fetches OAuth access token.
public yii\authclient\OAuthToken fetchAccessToken ( yii\authclient\OAuthToken $requestToken = null, $oauthVerifier = null, array $params = [] ) | ||
---|---|---|
$requestToken | yii\authclient\OAuthToken |
OAuth request token. |
$oauthVerifier | string |
OAuth verifier. |
$params | array |
Additional request params. |
return | yii\authclient\OAuthToken |
OAuth access token. |
throws | yii\base\Exception |
on failure. |
Please login to continue.