Constants

ACCESS_TOKEN_RESOURCE_OWNER_ID

ACCESS_TOKEN_RESOURCE_OWNER_ID

Properties

$accessType

$accessType : string

Type

string — If set, this will be sent to google as the "access_type" parameter.

$hostedDomain

$hostedDomain : string

Type

string — If set, this will be sent to google as the "hd" parameter.

$scope

$scope : string

Type

string — If set, this will be sent to google as the "scope" parameter.

Methods

getBaseAuthorizationUrl()

getBaseAuthorizationUrl() 

getBaseAccessTokenUrl()

getBaseAccessTokenUrl(array  $params) 

Parameters

array $params

getResourceOwnerDetailsUrl()

getResourceOwnerDetailsUrl(\League\OAuth2\Client\Token\AccessToken  $token) 

Parameters

\League\OAuth2\Client\Token\AccessToken $token

getAuthorizationParameters()

getAuthorizationParameters(array  $options) 

Parameters

array $options

getDefaultScopes()

getDefaultScopes() 

getScopeSeparator()

getScopeSeparator() 

checkResponse()

checkResponse(\Psr\Http\Message\ResponseInterface  $response,   $data) 

Parameters

\Psr\Http\Message\ResponseInterface $response
$data

createResourceOwner()

createResourceOwner(array  $response, \League\OAuth2\Client\Token\AccessToken  $token) 

Parameters

array $response
\League\OAuth2\Client\Token\AccessToken $token