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 currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

Returns:

  • (String)


13270
13271
13272
13273
13274
13275
13276
13277
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 13270

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

A friendly name for the device that's running the TOTP authenticator.

Returns:

  • (String)


13270
13271
13272
13273
13274
13275
13276
13277
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 13270

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 ID from an AssociateSoftwareToken request.

Returns:

  • (String)


13270
13271
13272
13273
13274
13275
13276
13277
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 13270

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

#user_codeString

A TOTP that the user generated in their configured authenticator app.

Returns:

  • (String)


13270
13271
13272
13273
13274
13275
13276
13277
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 13270

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