Property | Type | Description | |
---|---|---|---|
$baseUrl | string | The base url of Weibo API. | |
$scopes | array | The scopes being requested. | |
$uid | integer | The uid of user authorized. | |
$version | string | The API version for the request. |
Method | 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. |
protected getAuthUrl ( string $state ) : string | ||
$state | string | |
return | string |
protected getTokenFields ( string $code ) : array | ||
$code | string | |
return | array |
protected getTokenUrl ( ) : string | ||
return | string |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) : array | ||
$token | Overtrue\Socialite\AccessTokenInterface | |
return | array |
protected mapUserToObject ( array $user ) : Overtrue\Socialite\User | ||
$user | array | |
return | Overtrue\Socialite\User |
protected string $version | ||
return | string |