TokenInterface
in
Provides access to an AWS token used for accessing AWS services
Table of Contents
Methods
- getExpiration() : int|null
- Get the UNIX timestamp in which the token will expire
- getToken() : string
- Returns the token this token object.
- isExpired() : bool
- Check if the token are expired
- toArray() : array<string|int, mixed>
- Converts the token to an associative array.
Methods
getExpiration()
Get the UNIX timestamp in which the token will expire
public
getExpiration() : int|null
Return values
int|nullgetToken()
Returns the token this token object.
public
getToken() : string
Return values
stringisExpired()
Check if the token are expired
public
isExpired() : bool
Return values
booltoArray()
Converts the token to an associative array.
public
toArray() : array<string|int, mixed>