Свойство | Type | Description | |
---|---|---|---|
$fields | array | The user fields being requested. | |
$graphUrl | string | The base Facebook Graph URL. | |
$popup | boolean | Display the dialog in a popup view. | |
$scopes | array | The scopes being requested. | |
$version | string | The Graph API version for the request. |
Méthode | Description | |
---|---|---|
asPopup ( ) | Set the dialog to be displayed as a popup. | |
fields ( array $fields ) | Set the user fields to request from Facebook. | |
getAccessToken ( string $code ) : |
Get the access token for the given code. |
Méthode | Description | |
---|---|---|
getAuthUrl ( $state ) | ||
getCodeFields ( $state = null ) | ||
getTokenUrl ( ) | ||
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
mapUserToObject ( array $user ) | ||
parseAccessToken ( $body ) |
public getAccessToken ( string $code ) : |
||
$code | string | |
Résultat |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
$token | Overtrue\Socialite\AccessTokenInterface |
protected array $fields | ||
Résultat | array |
protected string $graphUrl | ||
Résultat | string |
protected bool $popup | ||
Résultat | boolean |
protected string $version | ||
Résultat | string |