Skip to content

ContextDataType

Source code in docs_src/capo_cognito_identity_provider/types/context_data_type.py
class ContextDataType(TypedDict, closed=True):
    ip_address: "capo_cognito_identity_provider.types.string_type.StringType"
    """<p>The source IP address of your user's device.</p>"""
    server_name: "capo_cognito_identity_provider.types.string_type.StringType"
    """<p>The name of your application's service endpoint.</p>"""
    server_path: "capo_cognito_identity_provider.types.string_type.StringType"
    """<p>The path of your application's service endpoint.</p>"""
    http_headers: "capo_cognito_identity_provider.types.http_header_list.HttpHeaderList"
    """<p>The HTTP headers from your user's authentication request.</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.

http_headers instance-attribute

http_headers: HttpHeaderList

The HTTP headers from your user's authentication request.

ip_address instance-attribute

ip_address: StringType

The source IP address of your user's device.

server_name instance-attribute

server_name: StringType

The name of your application's service endpoint.

server_path instance-attribute

server_path: StringType

The path of your application's service endpoint.