Class: Aws::CognitoIdentityProvider::Types::ContextDataType

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

Overview

Contextual user data used for evaluating the risk of an authentication event by user pool threat protection.

This data type is a request parameter of server-side authentication operations like AdminInitiateAuth and AdminRespondToAuthChallenge.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#encoded_dataString

Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.

Returns:

  • (String)


3519
3520
3521
3522
3523
3524
3525
3526
3527
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3519

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#http_headersArray<Types::HttpHeader>

The HTTP headers from your user's authentication request.

Returns:



3519
3520
3521
3522
3523
3524
3525
3526
3527
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3519

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#ip_addressString

The source IP address of your user's device.

Returns:

  • (String)


3519
3520
3521
3522
3523
3524
3525
3526
3527
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3519

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#server_nameString

The name of your application's service endpoint.

Returns:

  • (String)


3519
3520
3521
3522
3523
3524
3525
3526
3527
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3519

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end

#server_pathString

The path of your application's service endpoint.

Returns:

  • (String)


3519
3520
3521
3522
3523
3524
3525
3526
3527
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3519

class ContextDataType < Struct.new(
  :ip_address,
  :server_name,
  :server_path,
  :http_headers,
  :encoded_data)
  SENSITIVE = []
  include Aws::Structure
end