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

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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


1805
1806
1807
1808
1809
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1805

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


1805
1806
1807
1808
1809
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1805

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