프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$baseUrl | string | The base url of WeChat API. | |
$openId | {@inheritdoc}. | ||
$scopes | {@inheritdoc}. | ||
$stateless | boolean | Indicates if the session state should be utilized. |
메소드 | 설명 | |
---|---|---|
getAccessToken ( $code ) | {@inheritdoc}. |
메소드 | 설명 | |
---|---|---|
buildAuthUrlFromBase ( $url, $state ) | {@inheritdoc}. | |
getAuthUrl ( $state ) | {@inheritdoc}. | |
getCodeFields ( $state = null ) | {@inheritdoc}. | |
getTokenFields ( $code ) | {@inheritdoc}. | |
getTokenUrl ( ) | {@inheritdoc}. | |
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | {@inheritdoc}. | |
isOpenPlatform ( ) : mixed | Detect wechat open platform. | |
mapUserToObject ( array $user ) | {@inheritdoc}. | |
removeCallback ( mixed $response ) : string | Remove the fucking callback parentheses. |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
$token | Overtrue\Socialite\AccessTokenInterface |
protected removeCallback ( mixed $response ) : string | ||
$response | mixed | |
리턴 | string |
protected bool $stateless | ||
리턴 | boolean |