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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2089
2090
2091
2092
2093
2094
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2089

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)


2089
2090
2091
2092
2093
2094
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2089

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