public static interface ExchangeCodeForTokenResponse.Builder extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse>
| Modifier and Type | Method and Description |
|---|---|
ExchangeCodeForTokenResponse.Builder |
accessToken(String accessToken)
The access token.
|
ExchangeCodeForTokenResponse.Builder |
expiresIn(Integer expiresIn)
The date and time when the new access token expires.
|
ExchangeCodeForTokenResponse.Builder |
refreshToken(String refreshToken)
The token to use to refresh a previously issued access token that might have expired.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildExchangeCodeForTokenResponse.Builder accessToken(String accessToken)
The access token.
accessToken - The access token.ExchangeCodeForTokenResponse.Builder expiresIn(Integer expiresIn)
The date and time when the new access token expires.
expiresIn - The date and time when the new access token expires.ExchangeCodeForTokenResponse.Builder refreshToken(String refreshToken)
The token to use to refresh a previously issued access token that might have expired.
refreshToken - The token to use to refresh a previously issued access token that might have expired.Copyright © 2023. All rights reserved.