You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::ContextDataType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::ContextDataType
- Defined in:
- (unknown)
Overview
When passing ContextDataType as input to an Aws::Client method, you can use a vanilla Hash:
{
ip_address: "StringType", # required
server_name: "StringType", # required
server_path: "StringType", # required
http_headers: [ # required
{
header_name: "StringType",
header_value: "StringType",
},
],
encoded_data: "StringType",
}
Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
Returned by:
Instance Attribute Summary collapse
-
#encoded_data ⇒ String
Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.
-
#http_headers ⇒ Array<Types::HttpHeader>
HttpHeaders received on your server in same order.
-
#ip_address ⇒ String
Source IP address of your user.
-
#server_name ⇒ String
Your server endpoint where this API is invoked.
-
#server_path ⇒ String
Your server path where this API is invoked.
Instance Attribute Details
#encoded_data ⇒ String
Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.
#http_headers ⇒ Array<Types::HttpHeader>
HttpHeaders received on your server in same order.
#ip_address ⇒ String
Source IP address of your user.
#server_name ⇒ String
Your server endpoint where this API is invoked.
#server_path ⇒ String
Your server path where this API is invoked.