UserPoolClientRefreshTokenRotationArgs

data class UserPoolClientRefreshTokenRotationArgs(val feature: Output<UserPoolClientRefreshTokenRotationFeature>? = null, val retryGracePeriodSeconds: Output<Int>? = null) : ConvertibleToJava<UserPoolClientRefreshTokenRotationArgs>

Constructors

Link copied to clipboard
constructor(feature: Output<UserPoolClientRefreshTokenRotationFeature>? = null, retryGracePeriodSeconds: Output<Int>? = null)

Properties

Link copied to clipboard

The state of refresh token rotation for the current app client.

Link copied to clipboard
val retryGracePeriodSeconds: Output<Int>? = null

When you request a token refresh with GetTokensFromRefreshToken , the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. When RetryGracePeriodSeconds is 0 , the grace period is disabled and a successful request immediately invalidates the submitted refresh token.

Functions

Link copied to clipboard
open override fun toJava(): UserPoolClientRefreshTokenRotationArgs