PHP 클래스 Overtrue\Socialite\Providers\FacebookProvider

상속: extends AbstractProvider, implements Overtrue\Socialite\ProviderInterface
파일 보기 프로젝트 열기: overtrue/socialite

보호된 프로퍼티들

프로퍼티 타입 설명
$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 ) : AccessToken Get the access token for the given code.

보호된 메소드들

메소드 설명
getAuthUrl ( $state )
getCodeFields ( $state = null )
getTokenUrl ( )
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
mapUserToObject ( array $user )
parseAccessToken ( $body )

메소드 상세

asPopup() 공개 메소드

Set the dialog to be displayed as a popup.
public asPopup ( )

fields() 공개 메소드

Set the user fields to request from Facebook.
public fields ( array $fields )
$fields array

getAccessToken() 공개 메소드

Get the access token for the given code.
public getAccessToken ( string $code ) : AccessToken
$code string
리턴 Overtrue\Socialite\AccessToken

getAuthUrl() 보호된 메소드

protected getAuthUrl ( $state )

getCodeFields() 보호된 메소드

protected getCodeFields ( $state = null )

getTokenUrl() 보호된 메소드

protected getTokenUrl ( )

getUserByToken() 보호된 메소드

protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
$token Overtrue\Socialite\AccessTokenInterface

mapUserToObject() 보호된 메소드

protected mapUserToObject ( array $user )
$user array

parseAccessToken() 보호된 메소드

protected parseAccessToken ( $body )

프로퍼티 상세

$fields 보호되어 있는 프로퍼티

The user fields being requested.
protected array $fields
리턴 array

$graphUrl 보호되어 있는 프로퍼티

The base Facebook Graph URL.
protected string $graphUrl
리턴 string

$popup 보호되어 있는 프로퍼티

Display the dialog in a popup view.
protected bool $popup
리턴 boolean

$scopes 보호되어 있는 프로퍼티

The scopes being requested.
protected array $scopes
리턴 array

$version 보호되어 있는 프로퍼티

The Graph API version for the request.
protected string $version
리턴 string