fetchAccessToken() public method
Fetches access token from authorization code.
public yii\authclient\OAuthToken fetchAccessToken ( $authCode, array $params = [] )$authCode string
Authorization code, usually comes at $_GET['code']. $params array
Additional request params. return yii\authclient\OAuthToken
Access token.