Class: Aws::CognitoIdentityProvider::Types::TokenValidityUnitsType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::TokenValidityUnitsType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
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
}
The data type for TokenValidityUnits that specifics the time measurements for token validity.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#access_token ⇒ String
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in AccessTokenValidity, defaulting to hours.
-
#id_token ⇒ String
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in IdTokenValidity, defaulting to hours.
-
#refresh_token ⇒ String
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in RefreshTokenValidity, defaulting to days.
Instance Attribute Details
#access_token ⇒ String
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in AccessTokenValidity, defaulting to hours.
8792 8793 8794 8795 8796 8797 8798 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8792 class TokenValidityUnitsType < Struct.new( :access_token, :id_token, :refresh_token) SENSITIVE = [] include Aws::Structure end |
#id_token ⇒ String
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in IdTokenValidity, defaulting to hours.
8792 8793 8794 8795 8796 8797 8798 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8792 class TokenValidityUnitsType < Struct.new( :access_token, :id_token, :refresh_token) SENSITIVE = [] include Aws::Structure end |
#refresh_token ⇒ String
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in RefreshTokenValidity, defaulting to days.
8792 8793 8794 8795 8796 8797 8798 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8792 class TokenValidityUnitsType < Struct.new( :access_token, :id_token, :refresh_token) SENSITIVE = [] include Aws::Structure end |