Sets and returns the access token.
public getAccessToken ( string $code, string $grant = 'authorization_code' ) : League\OAuth2\Client\Token\AccessToken | ||
$code | string | |
$grant | string | |
리턴 | League\OAuth2\Client\Token\AccessToken |
public getAccessToken ( string $code, string $grant = 'authorization_code' ) : League\OAuth2\Client\Token\AccessToken | ||
$code | string | |
$grant | string | |
리턴 | League\OAuth2\Client\Token\AccessToken |