Builder

class Builder

Properties

Link copied to clipboard

The app client that issued the refresh token to the user who wants to request new tokens.

Link copied to clipboard

A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers.

Link copied to clipboard

The client secret of the requested app client, if the client has a secret.

Link copied to clipboard

When you enable device remembering, Amazon Cognito issues a device key that you can use for device authentication that bypasses multi-factor authentication (MFA). To implement GetTokensFromRefreshToken in a user pool with device remembering, you must capture the device key from the initial authentication request. If your application doesn't provide the key of a registered device, Amazon Cognito issues a new one. You must provide the confirmed device key in this request if device remembering is enabled in your user pool.

Link copied to clipboard

A valid refresh token that can authorize the request for new tokens. When refresh token rotation is active in the requested app client, this token is invalidated after the request is complete.