TokenValidityUnitsType
¶
Used by
Source code in docs_src/capo_cognito_identity_provider/types/token_validity_units_type.py
access_token
instance-attribute
¶
access_token: NotRequired[TimeUnitsType]
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.
id_token
instance-attribute
¶
id_token: NotRequired[TimeUnitsType]
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.
refresh_token
instance-attribute
¶
refresh_token: NotRequired[TimeUnitsType]
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.