authclient\WeChat fetchAccessToken()

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.

doc_Yii
2016-10-30 16:50:10
Comments
Leave a Comment

Please login to continue.