Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ContextDataType

import type { ContextDataType } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";

Contextual user data type used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

interface ContextDataType {
EncodedData?: string | null;
HttpHeaders: HttpHeader[];
IpAddress: string;
ServerName: string;
ServerPath: string;
}

§Properties

§
EncodedData?: string | null
[src]

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.

§
HttpHeaders: HttpHeader[]
[src]

HttpHeaders received on your server in same order.

§
IpAddress: string
[src]

The source IP address of your user's device.

§
ServerName: string
[src]

Your server endpoint where this API is invoked.

§
ServerPath: string
[src]

Your server path where this API is invoked.