PHP Class Mollie\Laravel\MollieConnectProvider

Inheritance: extends Laravel\Socialite\Two\AbstractProvider, implements Laravel\Socialite\Two\ProviderInterface
Datei anzeigen Open project: mollie/laravel-mollie

Protected Properties

Property Type Description
$scopeSeparator string The separating character for the requested scopes.
$scopes array The scopes being requested.

Public Methods

Method Description
getAccessToken ( string $code ) : string Get the access token for the given code.
getTokenFields ( string $code ) : array Get the POST fields for the token request.

Protected Methods

Method Description
getAuthUrl ( string $state ) : string Get the authentication URL for the provider.
getTokenUrl ( ) : string Get the token URL for the provider.
getUserByToken ( string $token ) : array Get the raw user for the given access token.
mapUserToObject ( array $user ) : Laravel\Socialite\User Map the raw user array to a Socialite User instance.

Method Details

getAccessToken() public method

Get the access token for the given code.
public getAccessToken ( string $code ) : string
$code string
return string

getAuthUrl() protected method

Get the authentication URL for the provider.
protected getAuthUrl ( string $state ) : string
$state string
return string

getTokenFields() public method

Get the POST fields for the token request.
public getTokenFields ( string $code ) : array
$code string
return array

getTokenUrl() protected method

Get the token URL for the provider.
protected getTokenUrl ( ) : string
return string

getUserByToken() protected method

Get the raw user for the given access token.
protected getUserByToken ( string $token ) : array
$token string
return array

mapUserToObject() protected method

Map the raw user array to a Socialite User instance.
protected mapUserToObject ( array $user ) : Laravel\Socialite\User
$user array
return Laravel\Socialite\User

Property Details

$scopeSeparator protected_oe property

The separating character for the requested scopes.
protected string $scopeSeparator
return string

$scopes protected_oe property

The scopes being requested.
protected array $scopes
return array