TokenValidityUnitsType
The time units that, with IdTokenValidity,
AccessTokenValidity, and RefreshTokenValidity, set and
display the duration of ID, access, and refresh tokens for an app client. You can assign
a separate token validity unit to each type of token.
This data type is a request parameter of CreateUserPoolClient and UpdateUserPoolClient, and a response parameter of DescribeUserPoolClient.
Contents
- AccessToken
-
A time unit for the value that you set in the
AccessTokenValidityparameter. The defaultAccessTokenValiditytime unit ishours.AccessTokenValidityduration can range from five minutes to one day.Type: String
Valid Values:
seconds | minutes | hours | daysRequired: No
- IdToken
-
A time unit for the value that you set in the
IdTokenValidityparameter. The defaultIdTokenValiditytime unit ishours.IdTokenValidityduration can range from five minutes to one day.Type: String
Valid Values:
seconds | minutes | hours | daysRequired: No
- RefreshToken
-
A time unit for the value that you set in the
RefreshTokenValidityparameter. The defaultRefreshTokenValiditytime unit isdays.RefreshTokenValidityduration can range from 60 minutes to 10 years.Type: String
Valid Values:
seconds | minutes | hours | daysRequired: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: