Interface TokenIdentity
- All Superinterfaces:
 Identity
- All Known Subinterfaces:
 SdkToken
- All Known Implementing Classes:
 SsoAccessToken,SsoOidcToken
Provides token which is used to securely authorize requests to services that use token based auth, e.g., OAuth.
 
For more details on OAuth tokens, see: https://oauth.net/2/access-tokens
- 
Method Summary
Modifier and TypeMethodDescriptionstatic TokenIdentityConstructs a new token object, which can be used to authorize requests to services that use token based authtoken()Retrieves string field representing the literal token string.Methods inherited from interface software.amazon.awssdk.identity.spi.Identity
expirationTime, providerName 
- 
Method Details
- 
token
String token()Retrieves string field representing the literal token string. - 
create
Constructs a new token object, which can be used to authorize requests to services that use token based auth- Parameters:
 token- The token used to authorize requests.
 
 -