Methods |
public
|
getInstance(): object
Get instance
|
#
|
public
|
request(string $type, string $url, array $params = [], string $tenantId = null): mixed
Request authorization
Parameters
$type |
Type of request
|
$url |
URL
|
$params |
(Optional) Parameters
|
$tenantId |
(Optional) Organization UID
|
Implements
|
#
|
protected
|
_setupTokens(string $authzCode, string $grantType): array
Get access token
Parameters
$authzCode |
Authorization code (a received verifier)
|
$grantType |
Grant Type
|
Implements
|
#
|
protected
|
_refreshTokens(string $refreshToken): array
Refresh the existing access token
Refresh the existing access token
Parameters
$refreshToken |
Existing refresh token
|
|
#
|
protected
|
_getOAuthInstance(integer $authType = null): object
Get OAuth2 instance
|
#
|