Class: Aws::CognitoIdentityProvider::Types::AssociateSoftwareTokenResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:secret_code, :session]

Instance Attribute Summary collapse

Instance Attribute Details

#secret_codeString

A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.

Returns:

  • (String)


2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2091

class AssociateSoftwareTokenResponse < Struct.new(
  :secret_code,
  :session)
  SENSITIVE = [:secret_code, :session]
  include Aws::Structure
end

#sessionString

The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.

Returns:

  • (String)


2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2091

class AssociateSoftwareTokenResponse < Struct.new(
  :secret_code,
  :session)
  SENSITIVE = [:secret_code, :session]
  include Aws::Structure
end