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 by the TOTP algorithm to generate a one-time code.

Returns:

  • (String)


2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2569

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

#sessionString

The session identifier that maintains the state of authentication requests and challenge responses. This session ID is valid for the next request in this flow, [VerifySoftwareToken].

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifySoftwareToken.html

Returns:

  • (String)


2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2569

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