Свойство | Type | Description | |
---|---|---|---|
$baseUrl | string | The base url of QQ API. | |
$openId | string | User openid. | |
$scopes | array | The scopes being requested. | |
$uid | integer | The uid of user authorized. | |
$unionId | string | User unionid. | |
$withUnionId | boolean | get token(openid) with unionid. |
Méthode | Description | |
---|---|---|
getAccessToken ( string $code ) : |
Get the access token for the given code. | |
parseAccessToken ( string $body ) : |
Get the access token from the token response body. | |
withUnionId ( ) : self |
Méthode | Description | |
---|---|---|
getAuthUrl ( string $state ) : string | Get the authentication URL for the provider. | |
getTokenFields ( string $code ) : array | Get the Post fields for the token request. | |
getTokenUrl ( ) : string | Get the token URL for the provider. | |
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) : array | Get the raw user for the given access token. | |
mapUserToObject ( array $user ) : Overtrue\Socialite\User | Map the raw user array to a Socialite User instance. | |
removeCallback ( string $response ) : string | Remove the fucking callback parentheses. |
public getAccessToken ( string $code ) : |
||
$code | string | |
Résultat |
protected getAuthUrl ( string $state ) : string | ||
$state | string | |
Résultat | string |
protected getTokenFields ( string $code ) : array | ||
$code | string | |
Résultat | array |
protected getTokenUrl ( ) : string | ||
Résultat | string |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) : array | ||
$token | Overtrue\Socialite\AccessTokenInterface | |
Résultat | array |
protected mapUserToObject ( array $user ) : Overtrue\Socialite\User | ||
$user | array | |
Résultat | Overtrue\Socialite\User |
public parseAccessToken ( string $body ) : |
||
$body | string | |
Résultat |
protected removeCallback ( string $response ) : string | ||
$response | string | |
Résultat | string |
protected bool $withUnionId | ||
Résultat | boolean |