Interface TokenInterface
Provides access to an AWS token used for accessing AWS services
Direct known implementers
Indirect known implementers
Methods Summary
-
getToken ( )
Returns the token this token object.
-
getExpiration ( )
Get the UNIX timestamp in which the token will expire
-
isExpired ( )
Check if the token are expired
-
toArray ( )
Converts the token to an associative array.
Methods Details
string getToken ( )
Returns the token this token object.
Returns
string |
integer|null getExpiration ( )
Get the UNIX timestamp in which the token will expire
Returns
integer|null |
boolean isExpired ( )
Check if the token are expired
Returns
boolean |
array toArray ( )
Converts the token to an associative array.
Returns
array |