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)


2141
2142
2143
2144
2145
2146
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2141

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)


2141
2142
2143
2144
2145
2146
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2141

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