PHP Class Overtrue\Socialite\Providers\GoogleProvider

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

Protected Properties

Свойство Type Description
$scopeSeparator string The separating character for the requested scopes.
$scopes array The scopes being requested.

Méthodes publiques

Méthode Description
getAccessToken ( string $code ) : string Get the access token for the given code.

Méthodes protégées

Méthode Description
getAuthUrl ( $state )
getTokenFields ( string $code ) : array Get the POST fields for the token request.
getTokenUrl ( )
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
mapUserToObject ( array $user )

Method Details

getAccessToken() public méthode

Get the access token for the given code.
public getAccessToken ( string $code ) : string
$code string
Résultat string

getAuthUrl() protected méthode

protected getAuthUrl ( $state )

getTokenFields() protected méthode

Get the POST fields for the token request.
protected getTokenFields ( string $code ) : array
$code string
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

$scopeSeparator protected_oe property

The separating character for the requested scopes.
protected string $scopeSeparator
Résultat string

$scopes protected_oe property

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