Skip to content

UserContextDataType

Source code in docs_src/capo_cognito_identity_provider/types/user_context_data_type.py
class UserContextDataType(TypedDict, closed=True):
    ip_address: NotRequired[
        "capo_cognito_identity_provider.types.string_type.StringType"
    ]
    """<p>The source IP address of your user's device.</p>"""
    encoded_data: NotRequired[
        "capo_cognito_identity_provider.types.string_type.StringType"
    ]
    """<p>Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint">Adding user device and session data to API requests</a>.</p>"""

encoded_data instance-attribute

encoded_data: NotRequired[StringType]

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.

ip_address instance-attribute

ip_address: NotRequired[StringType]

The source IP address of your user's device.