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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


10831
10832
10833
10834
10835
10836
10837
10838
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10831

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)


10831
10832
10833
10834
10835
10836
10837
10838
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10831

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

#sessionString

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

Returns:

  • (String)


10831
10832
10833
10834
10835
10836
10837
10838
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10831

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

#user_codeString

Returns:

  • (String)


10831
10832
10833
10834
10835
10836
10837
10838
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 10831

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