UserPoolClientTokenValidityUnits

data class UserPoolClientTokenValidityUnits(val accessToken: String? = null, val idToken: String? = null, val refreshToken: String? = null)

Constructors

Link copied to clipboard
constructor(accessToken: String? = null, idToken: String? = null, refreshToken: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessToken: String? = null

A time unit for the value that you set in the AccessTokenValidity parameter. The default AccessTokenValidity time unit is hours . AccessTokenValidity duration can range from five minutes to one day.

Link copied to clipboard
val idToken: String? = null

A time unit for the value that you set in the IdTokenValidity parameter. The default IdTokenValidity time unit is hours . IdTokenValidity duration can range from five minutes to one day.

Link copied to clipboard
val refreshToken: String? = null

A time unit for the value that you set in the RefreshTokenValidity parameter. The default RefreshTokenValidity time unit is days . RefreshTokenValidity duration can range from 60 minutes to 10 years.