Свойство | Тип | Описание | |
---|---|---|---|
$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 buildAuthUrlFromBase ( $url, $state ) |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
$token | Overtrue\Socialite\AccessTokenInterface |
protected isOpenPlatform ( ) : mixed | ||
Результат | mixed |
protected mapUserToObject ( array $user ) | ||
$user | array |
protected removeCallback ( mixed $response ) : string | ||
$response | mixed | |
Результат | string |
protected bool $stateless | ||
Результат | boolean |