Interface StsToken
- All Known Implementing Classes:
StsTokenJson
public interface StsToken
A security token issued by the Equinix Security Token Service, as returned by the STS token
exchange operation.
This is a read-only response view (spec schema TokenResponse).
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getAccessToken
String getAccessToken()- Returns:
- the issued access token
-
getIssuedTokenType
String getIssuedTokenType()- Returns:
- the type of the issued token
-
getTokenType
TokenType getTokenType()- Returns:
- the token type (e.g.
Bearer)
-
getExpiresIn
Integer getExpiresIn()- Returns:
- the lifetime of the token in seconds
-