Class SsoOidcToken
java.lang.Object
software.amazon.awssdk.services.ssooidc.internal.SsoOidcToken
- All Implemented Interfaces:
SdkToken
,Identity
,TokenIdentity
Represents a cached SSO token.
{
"accessToken": "string",
"expiresAt": "2019-11-14T04:05:45Z",
"refreshToken": "string",
"clientId": "ABCDEFG323242423121312312312312312",
"clientSecret": "ABCDE123",
"registrationExpiresAt": "2022-03-06T19:53:17Z",
"region": "us-west-2",
"startUrl": "https://d-abc123.awsapps.com/start"
}
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SsoOidcToken.Builder
builder()
clientId()
boolean
The time after which this identity will no longer be valid.int
hashCode()
The source that resolved this identity, normally an identity provider.region()
startUrl()
token()
Retrieves string field representing the literal token string.toString()
-
Field Details
-
PROVIDER_NAME
- See Also:
-
-
Method Details
-
token
Description copied from interface:TokenIdentity
Retrieves string field representing the literal token string.- Specified by:
token
in interfaceTokenIdentity
-
expirationTime
Description copied from interface:Identity
The time after which this identity will no longer be valid. If this is empty, an expiration time is not known (but the identity may still expire at some time in the future).- Specified by:
expirationTime
in interfaceIdentity
-
providerName
Description copied from interface:Identity
The source that resolved this identity, normally an identity provider. Note that this string value would be set by an identity provider implementation and is intended to be used for for tracking purposes. Avoid building logic on its value.- Specified by:
providerName
in interfaceIdentity
-
refreshToken
-
clientId
-
clientSecret
-
registrationExpiresAt
-
region
-
startUrl
-
equals
-
hashCode
-
toString
-
builder
-