class Client implements OAuthInterface

Constants

TYPE

API_URL

URL

POST_URL

Properties

$state

Methods

__construct($config, Curl $curl)

No description

string
getLoginUrl(string|null $state)

No description

array
getAccessToken(string $code, string|null $state, bool $json = true)

No description

Details

at line 32
__construct($config, Curl $curl)

Parameters

$config
Curl $curl

at line 70
string getLoginUrl(string|null $state)

Parameters

string|null $state

Return Value

string

at line 86
array getAccessToken(string $code, string|null $state, bool $json = true)

Parameters

string $code
string|null $state
bool $json

Return Value

array

Exceptions

Exception