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

ChannelProfileWebWidgetConfigSecuritySettings

import type { ChannelProfileWebWidgetConfigSecuritySettings } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Security settings for the web widget.

interface ChannelProfileWebWidgetConfigSecuritySettings {
allowedOrigins?: string[];
enableOriginCheck?: boolean;
enablePublicAccess?: boolean;
enableRecaptcha?: boolean;
}

§Properties

§
allowedOrigins?: string[]
[src]

Optional. The origins that are allowed to host the web widget. An origin is defined by RFC 6454. If empty, all origins are allowed. A maximum of 100 origins is allowed. Example: "https://example.com"

§
enableOriginCheck?: boolean
[src]

Optional. Indicates whether origin check for the web widget is enabled. If true, the web widget will check the origin of the website that loads the web widget and only allow it to be loaded in the same origin or any of the allowed origins.

§
enablePublicAccess?: boolean
[src]

Optional. Indicates whether public access to the web widget is enabled. If true, the web widget will be publicly accessible. If false, the web widget must be integrated with your own authentication and authorization system to return valid credentials for accessing the CES agent.

§
enableRecaptcha?: boolean
[src]

Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.