public static interface AuthenticationResultType.Builder extends SdkPojo, CopyableBuilder<AuthenticationResultType.Builder,AuthenticationResultType>
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResultType.Builder |
accessToken(String accessToken)
The access token.
|
AuthenticationResultType.Builder |
expiresIn(Integer expiresIn)
The expiration period of the authentication result in seconds.
|
AuthenticationResultType.Builder |
idToken(String idToken)
The ID token.
|
default AuthenticationResultType.Builder |
newDeviceMetadata(Consumer<NewDeviceMetadataType.Builder> newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType.Builder |
newDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType.Builder |
refreshToken(String refreshToken)
The refresh token.
|
AuthenticationResultType.Builder |
tokenType(String tokenType)
The token type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAuthenticationResultType.Builder accessToken(String accessToken)
The access token.
accessToken - The access token.AuthenticationResultType.Builder expiresIn(Integer expiresIn)
The expiration period of the authentication result in seconds.
expiresIn - The expiration period of the authentication result in seconds.AuthenticationResultType.Builder tokenType(String tokenType)
The token type.
tokenType - The token type.AuthenticationResultType.Builder refreshToken(String refreshToken)
The refresh token.
refreshToken - The refresh token.AuthenticationResultType.Builder idToken(String idToken)
The ID token.
idToken - The ID token.AuthenticationResultType.Builder newDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
newDeviceMetadata - The new device metadata from an authentication result.default AuthenticationResultType.Builder newDeviceMetadata(Consumer<NewDeviceMetadataType.Builder> newDeviceMetadata)
The new device metadata from an authentication result.
This is a convenience that creates an instance of theNewDeviceMetadataType.Builder avoiding the need
to create one manually via NewDeviceMetadataType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to newDeviceMetadata(NewDeviceMetadataType).newDeviceMetadata - a consumer that will call methods on NewDeviceMetadataType.BuildernewDeviceMetadata(NewDeviceMetadataType)Copyright © 2019. All rights reserved.