@Generated(value="software.amazon.awssdk:codegen") public final class CreateTokenResponse extends SsoOidcResponse implements ToCopyableBuilder<CreateTokenResponse.Builder,CreateTokenResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTokenResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
An opaque token to access IAM Identity Center resources assigned to a user.
|
static CreateTokenResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiresIn()
Indicates the time in seconds when an access token will expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
idToken()
Currently,
idToken is not yet implemented and is not supported. |
String |
refreshToken()
Currently,
refreshToken is not yet implemented and is not supported. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTokenResponse.Builder> |
serializableBuilderClass() |
CreateTokenResponse.Builder |
toBuilder() |
String |
tokenType()
Used to notify the client that the returned token is an access token.
|
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
An opaque token to access IAM Identity Center resources assigned to a user.
public final String tokenType()
Used to notify the client that the returned token is an access token. The supported type is
BearerToken.
BearerToken.public final Integer expiresIn()
Indicates the time in seconds when an access token will expire.
public final String refreshToken()
Currently, refreshToken is not yet implemented and is not supported. For more information about the
features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using
this Guide in the IAM
Identity Center OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
refreshToken is not yet implemented and is not supported. For more information
about the features and limitations of the current IAM Identity Center OIDC implementation, see
Considerations for Using this Guide in the IAM Identity Center
OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
public final String idToken()
Currently, idToken is not yet implemented and is not supported. For more information about the
features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using
this Guide in the IAM
Identity Center OIDC API Reference.
The identifier of the user that associated with the access token, if present.
idToken is not yet implemented and is not supported. For more information about
the features and limitations of the current IAM Identity Center OIDC implementation, see
Considerations for Using this Guide in the IAM Identity Center
OIDC API Reference.
The identifier of the user that associated with the access token, if present.
public CreateTokenResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTokenResponse.Builder,CreateTokenResponse>toBuilder in class AwsResponsepublic static CreateTokenResponse.Builder builder()
public static Class<? extends CreateTokenResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.