Class: Aws::CognitoIdentityProvider::Types::TokenValidityUnitsType
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::CognitoIdentityProvider::Types::TokenValidityUnitsType
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-cognitoidentityprovider/types.rb
 
Overview
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].
[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPoolClient.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPoolClient.html [3]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #access_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A time unit for the value that you set in the ‘AccessTokenValidity` parameter.
 - 
  
    
      #id_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A time unit for the value that you set in the ‘IdTokenValidity` parameter.
 - 
  
    
      #refresh_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A time unit for the value that you set in the ‘RefreshTokenValidity` parameter.
 
Instance Attribute Details
#access_token ⇒ String
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.
      10575 10576 10577 10578 10579 10580 10581  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10575 class TokenValidityUnitsType < Struct.new( :access_token, :id_token, :refresh_token) SENSITIVE = [] include Aws::Structure end  | 
  
#id_token ⇒ String
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.
      10575 10576 10577 10578 10579 10580 10581  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10575 class TokenValidityUnitsType < Struct.new( :access_token, :id_token, :refresh_token) SENSITIVE = [] include Aws::Structure end  | 
  
#refresh_token ⇒ String
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.
      10575 10576 10577 10578 10579 10580 10581  | 
    
      # File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10575 class TokenValidityUnitsType < Struct.new( :access_token, :id_token, :refresh_token) SENSITIVE = [] include Aws::Structure end  |