You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

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)


1824
1825
1826
1827
1828
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1824

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

#sessionString

The session which 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)


1824
1825
1826
1827
1828
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1824

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