AmazonCredentialResponse
Table of Contents
Properties
-
$access_token
: string|null
-
$expires_in
: int|null
-
$refresh_token
: string|null
-
$token_type
: string|null
Methods
-
fromJson()
: AmazonCredentialResponse
-
getAccessToken()
: string
-
getExpiresIn()
: int
-
getRefreshToken()
: string
-
getTokenType()
: string
-
setAccessToken()
: void
-
setExpiresIn()
: void
-
setRefreshToken()
: void
-
setTokenType()
: void
$access_token
private
string|null
$access_token
$expires_in
private
int|null
$expires_in
$refresh_token
private
string|null
$refresh_token
$token_type
private
string|null
$token_type
fromJson()
public
static fromJson(string $jsonData) : AmazonCredentialResponse
Parameters
-
$jsonData
: string
-
getAccessToken()
public
getAccessToken() : string
getExpiresIn()
public
getExpiresIn() : int
getRefreshToken()
public
getRefreshToken() : string
getTokenType()
public
getTokenType() : string
setAccessToken()
public
setAccessToken(string $accessToken) : void
Parameters
-
$accessToken
: string
-
setExpiresIn()
public
setExpiresIn(int $expiresIn) : void
Parameters
-
$expiresIn
: int
-
setRefreshToken()
public
setRefreshToken(string $refreshToken) : void
Parameters
-
$refreshToken
: string
-
setTokenType()
public
setTokenType(string $tokenType) : void
Parameters
-
$tokenType
: string
-