Class: Aws::CognitoIdentityProvider::Types::AssociateSoftwareTokenRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token, :session]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

A valid access token that Amazon Cognito issued to the user whose software token you want to generate.

Returns:

  • (String)


2121
2122
2123
2124
2125
2126
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2121

class AssociateSoftwareTokenRequest < Struct.new(
  :access_token,
  :session)
  SENSITIVE = [:access_token, :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)


2121
2122
2123
2124
2125
2126
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2121

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