Class: Aws::CognitoIdentityProvider::Types::AuthenticationResultType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::AuthenticationResultType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
The authentication result.
Constant Summary collapse
- SENSITIVE =
[:access_token, :refresh_token, :id_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
A valid access token that Amazon Cognito issued to the user who you want to authenticate.
-
#expires_in ⇒ Integer
The expiration period of the authentication result in seconds.
-
#id_token ⇒ String
The ID token.
-
#new_device_metadata ⇒ Types::NewDeviceMetadataType
The new device metadata from an authentication result.
-
#refresh_token ⇒ String
The refresh token.
-
#token_type ⇒ String
The token type.
Instance Attribute Details
#access_token ⇒ String
A valid access token that Amazon Cognito issued to the user who you want to authenticate.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2251 class AuthenticationResultType < Struct.new( :access_token, :expires_in, :token_type, :refresh_token, :id_token, :new_device_metadata) SENSITIVE = [:access_token, :refresh_token, :id_token] include Aws::Structure end |
#expires_in ⇒ Integer
The expiration period of the authentication result in seconds.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2251 class AuthenticationResultType < Struct.new( :access_token, :expires_in, :token_type, :refresh_token, :id_token, :new_device_metadata) SENSITIVE = [:access_token, :refresh_token, :id_token] include Aws::Structure end |
#id_token ⇒ String
The ID token.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2251 class AuthenticationResultType < Struct.new( :access_token, :expires_in, :token_type, :refresh_token, :id_token, :new_device_metadata) SENSITIVE = [:access_token, :refresh_token, :id_token] include Aws::Structure end |
#new_device_metadata ⇒ Types::NewDeviceMetadataType
The new device metadata from an authentication result.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2251 class AuthenticationResultType < Struct.new( :access_token, :expires_in, :token_type, :refresh_token, :id_token, :new_device_metadata) SENSITIVE = [:access_token, :refresh_token, :id_token] include Aws::Structure end |
#refresh_token ⇒ String
The refresh token.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2251 class AuthenticationResultType < Struct.new( :access_token, :expires_in, :token_type, :refresh_token, :id_token, :new_device_metadata) SENSITIVE = [:access_token, :refresh_token, :id_token] include Aws::Structure end |
#token_type ⇒ String
The token type.
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2251 class AuthenticationResultType < Struct.new( :access_token, :expires_in, :token_type, :refresh_token, :id_token, :new_device_metadata) SENSITIVE = [:access_token, :refresh_token, :id_token] include Aws::Structure end |