Class: Aws::CognitoIdentityProvider::Types::ContextDataType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::ContextDataType
- Defined in:
- gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
When making an API call, you may pass ContextDataType data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#encoded_data ⇒ String
Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library.
-
#http_headers ⇒ Array<Types::HttpHeader>
HttpHeaders received on your server in same order.
-
#ip_address ⇒ String
The source IP address of your user's device.
-
#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 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.
3045 3046 3047 3048 3049 3050 3051 3052 3053 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3045 class ContextDataType < Struct.new( :ip_address, :server_name, :server_path, :http_headers, :encoded_data) SENSITIVE = [] include Aws::Structure end |
#http_headers ⇒ Array<Types::HttpHeader>
HttpHeaders received on your server in same order.
3045 3046 3047 3048 3049 3050 3051 3052 3053 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3045 class ContextDataType < Struct.new( :ip_address, :server_name, :server_path, :http_headers, :encoded_data) SENSITIVE = [] include Aws::Structure end |
#ip_address ⇒ String
The source IP address of your user's device.
3045 3046 3047 3048 3049 3050 3051 3052 3053 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3045 class ContextDataType < Struct.new( :ip_address, :server_name, :server_path, :http_headers, :encoded_data) SENSITIVE = [] include Aws::Structure end |
#server_name ⇒ String
Your server endpoint where this API is invoked.
3045 3046 3047 3048 3049 3050 3051 3052 3053 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3045 class ContextDataType < Struct.new( :ip_address, :server_name, :server_path, :http_headers, :encoded_data) SENSITIVE = [] include Aws::Structure end |
#server_path ⇒ String
Your server path where this API is invoked.
3045 3046 3047 3048 3049 3050 3051 3052 3053 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3045 class ContextDataType < Struct.new( :ip_address, :server_name, :server_path, :http_headers, :encoded_data) SENSITIVE = [] include Aws::Structure end |