Class: Aws::CognitoIdentityProvider::Types::VerifySoftwareTokenRequest

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 VerifySoftwareTokenRequest data as a hash:

{
  access_token: "TokenModelType",
  session: "SessionType",
  user_code: "SoftwareTokenMFAUserCodeType", # required
  friendly_device_name: "StringType",
}

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


10800
10801
10802
10803
10804
10805
10806
10807
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10800

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

#friendly_device_nameString

The friendly device name.

Returns:

  • (String)


10800
10801
10802
10803
10804
10805
10806
10807
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10800

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

#sessionString

The session which should be passed both ways in challenge-response calls to the service.

Returns:

  • (String)


10800
10801
10802
10803
10804
10805
10806
10807
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10800

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

#user_codeString

The one time password computed using the secret code returned by AssociateSoftwareToken".

Returns:

  • (String)


10800
10801
10802
10803
10804
10805
10806
10807
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10800

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