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 type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

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)


2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2694

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

#http_headersArray<Types::HttpHeader>

HttpHeaders received on your server in same order.

Returns:



2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2694

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)


2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2694

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

#server_nameString

Your server endpoint where this API is invoked.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2694

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

#server_pathString

Your server path where this API is invoked.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2694

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