프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
getAuthUrl ( $state ) | ||
getCodeFields ( $state = null ) | ||
getTokenUrl ( ) | ||
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
mapUserToObject ( array $user ) | ||
parseAccessToken ( $body ) |
public getAccessToken ( string $code ) : |
||
$code | string | |
리턴 |
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) | ||
$token | Overtrue\Socialite\AccessTokenInterface |