AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

This data type is a request parameter of public-client authentication operations like InitiateAuth and RespondToAuthChallenge.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.UserContextDataType

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class UserContextDataType

The UserContextDataType type exposes the following members

Constructors

NameDescription
Public Method UserContextDataType()

Properties

NameTypeDescription
Public Property EncodedData System.String

Gets and sets the property EncodedData.

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.

Public Property IpAddress System.String

Gets and sets the property IpAddress.

The source IP address of your user's device.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5