Property | 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. |
Method | 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. |
Method | Description | |
---|---|---|
getAuthUrl ( $state ) | ||
getCodeFields ( $state = null ) | ||
getTokenUrl ( ) | ||
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
mapUserToObject ( array $user ) | ||
parseAccessToken ( $body ) |
public getAccessToken ( string $code ) : |
||
$code | string | |
return |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
$token | Overtrue\Socialite\AccessTokenInterface |
protected string $graphUrl | ||
return | string |
protected bool $popup | ||
return | boolean |
protected string $version | ||
return | string |