class Aws::CognitoIdentityProvider::Types::TokenValidityUnitsType
The data type for TokenValidityUnits that specifics the time measurements for token validity.
@note When making an API call, you may pass TokenValidityUnitsType
data as a hash: { access_token: "seconds", # accepts seconds, minutes, hours, days id_token: "seconds", # accepts seconds, minutes, hours, days refresh_token: "seconds", # accepts seconds, minutes, hours, days }
@!attribute [rw] access_token
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in AccessTokenValidity, defaults to hours. @return [String]
@!attribute [rw] id_token
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in IdTokenValidity, defaults to hours. @return [String]
@!attribute [rw] refresh_token
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in RefreshTokenValidity, defaults to days. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TokenValidityUnitsType AWS API Documentation
Constants
- SENSITIVE