PHP 클래스 Overtrue\Socialite\Providers\GitHubProvider

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

보호된 프로퍼티들

프로퍼티 타입 설명
$scopes array The scopes being requested.

보호된 메소드들

메소드 설명
getAuthUrl ( $state )
getEmailByToken ( string $token ) : string | null Get the email for the given access token.
getRequestOptions ( ) : array Get the default options for an HTTP request.
getTokenUrl ( )
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
mapUserToObject ( array $user )

메소드 상세

getAuthUrl() 보호된 메소드

protected getAuthUrl ( $state )

getEmailByToken() 보호된 메소드

Get the email for the given access token.
protected getEmailByToken ( string $token ) : string | null
$token string
리턴 string | null

getRequestOptions() 보호된 메소드

Get the default options for an HTTP request.
protected getRequestOptions ( ) : array
리턴 array

getTokenUrl() 보호된 메소드

protected getTokenUrl ( )

getUserByToken() 보호된 메소드

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

mapUserToObject() 보호된 메소드

protected mapUserToObject ( array $user )
$user array

프로퍼티 상세

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

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