@Generated(value="software.amazon.awssdk:codegen") public final class AuthenticationResultType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthenticationResultType.Builder,AuthenticationResultType>
The authentication result.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthenticationResultType.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
A valid access token that Amazon Cognito issued to the user who you want to authenticate.
|
static AuthenticationResultType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiresIn()
The expiration period of the authentication result in seconds.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
idToken()
The ID token.
|
NewDeviceMetadataType |
newDeviceMetadata()
The new device metadata from an authentication result.
|
String |
refreshToken()
The refresh token.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuthenticationResultType.Builder> |
serializableBuilderClass() |
AuthenticationResultType.Builder |
toBuilder() |
String |
tokenType()
The token type.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
A valid access token that Amazon Cognito issued to the user who you want to authenticate.
public final Integer expiresIn()
The expiration period of the authentication result in seconds.
public final String tokenType()
The token type.
public final String refreshToken()
The refresh token.
public final String idToken()
The ID token.
public final NewDeviceMetadataType newDeviceMetadata()
The new device metadata from an authentication result.
public AuthenticationResultType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuthenticationResultType.Builder,AuthenticationResultType>public static AuthenticationResultType.Builder builder()
public static Class<? extends AuthenticationResultType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.