PHP Class Overtrue\Socialite\Providers\GitHubProvider

Inheritance: extends AbstractProvider, implements Overtrue\Socialite\ProviderInterface
Afficher le fichier Open project: overtrue/socialite

Protected Properties

Свойство Type Description
$scopes array The scopes being requested.

Méthodes protégées

Méthode Description
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 )

Method Details

getAuthUrl() protected méthode

protected getAuthUrl ( $state )

getEmailByToken() protected méthode

Get the email for the given access token.
protected getEmailByToken ( string $token ) : string | null
$token string
Résultat string | null

getRequestOptions() protected méthode

Get the default options for an HTTP request.
protected getRequestOptions ( ) : array
Résultat array

getTokenUrl() protected méthode

protected getTokenUrl ( )

getUserByToken() protected méthode

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

mapUserToObject() protected méthode

protected mapUserToObject ( array $user )
$user array

Property Details

$scopes protected_oe property

The scopes being requested.
protected array $scopes
Résultat array