UserContextDataType - Amazon Cognito User Pools

UserContextDataType

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.

Contents

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.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: No

IpAddress

The source IP address of your user's device.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: