Class: Aws::CognitoIdentityProvider::Types::AuthenticationResultType

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:access_token, :refresh_token, :id_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

Your user’s access token.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2720

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_inInteger

The expiration period of the authentication result in seconds.

Returns:

  • (Integer)


2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2720

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_tokenString

Your user’s ID token.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2720

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_metadataTypes::NewDeviceMetadataType

The new device metadata from an authentication result.



2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2720

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_tokenString

Your user’s refresh token.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2720

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_typeString

The intended use of the token, for example ‘Bearer`.

Returns:

  • (String)


2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2720

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