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

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

Overview

Note:

When making an API call, you may pass AssociateSoftwareTokenRequest data as a hash:

{
  access_token: "TokenModelType",
  session: "SessionType",
}

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


2294
2295
2296
2297
2298
2299
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2294

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


2294
2295
2296
2297
2298
2299
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2294

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