Class: Aws::CognitoIdentityProvider::Types::NewDeviceMetadataType

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

Overview

Information that your user pool responds with in AuthenticationResultwhen you configure it to remember devices and a user signs in with an unrecognized device. Amazon Cognito presents a new device key that you can use to set up device authentication in a "Remember me on this device" authentication model.

This data type is a response parameter of authentication operations like InitiateAuth, AdminInitiateAuth, RespondToAuthChallenge, and AdminRespondToAuthChallenge.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_group_keyString

The device group key, an identifier used in generating the DEVICE_PASSWORD_VERIFIER for device SRP authentication.

Returns:

  • (String)


8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8470

class NewDeviceMetadataType < Struct.new(
  :device_key,
  :device_group_key)
  SENSITIVE = []
  include Aws::Structure
end

#device_keyString

The device key, an identifier used in generating the DEVICE_PASSWORD_VERIFIER for device SRP authentication.

Returns:

  • (String)


8470
8471
8472
8473
8474
8475
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8470

class NewDeviceMetadataType < Struct.new(
  :device_key,
  :device_group_key)
  SENSITIVE = []
  include Aws::Structure
end