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

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token, :session, :user_code]

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 verify.

Returns:

  • (String)


10784
10785
10786
10787
10788
10789
10790
10791
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10784

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

#friendly_device_nameString

The friendly device name.

Returns:

  • (String)


10784
10785
10786
10787
10788
10789
10790
10791
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10784

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

#sessionString

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

Returns:

  • (String)


10784
10785
10786
10787
10788
10789
10790
10791
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10784

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

#user_codeString

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

Returns:

  • (String)


10784
10785
10786
10787
10788
10789
10790
10791
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10784

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