TokenValidityUnitsType
The data type TokenValidityUnits specifies the time units you use when you set the duration of ID, access, and refresh tokens.
Contents
- AccessToken
-
A time unit of
seconds
,minutes
,hours
, ordays
for the value that you set in theAccessTokenValidity
parameter. The defaultAccessTokenValidity
time unit is hours.AccessTokenValidity
duration can range from five minutes to one day.Type: String
Valid Values:
seconds | minutes | hours | days
Required: No
- IdToken
-
A time unit of
seconds
,minutes
,hours
, ordays
for the value that you set in theIdTokenValidity
parameter. The defaultIdTokenValidity
time unit is hours.IdTokenValidity
duration can range from five minutes to one day.Type: String
Valid Values:
seconds | minutes | hours | days
Required: No
- RefreshToken
-
A time unit of
seconds
,minutes
,hours
, ordays
for the value that you set in theRefreshTokenValidity
parameter. The defaultRefreshTokenValidity
time unit is days.RefreshTokenValidity
duration can range from 60 minutes to 10 years.Type: String
Valid Values:
seconds | minutes | hours | days
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: