interface GrantTypeInterface (View source)

Interface GrantTypeInterface.

Methods

array
getToken(string $refreshToken = null)

Obtain the token data returned by the OAuth2 server.

Details

array getToken(string $refreshToken = null)

Obtain the token data returned by the OAuth2 server.

Parameters

string $refreshToken

Return Value

array API token

Exceptions

TokenRequestException