Interface WebChatAuthParams

Platform-specific parameters for WebChat connections.

interface WebChatAuthParams {
    apiKey?: string;
    corsOrigins?: string;
    port?: string;
    wsPath?: string;
}

Hierarchy

  • Record<string, string | undefined>
    • WebChatAuthParams

Properties

apiKey?: string

API key for authenticating WebSocket clients. Optional.

corsOrigins?: string

Comma-separated CORS origins (default: '*').

port?: string

Port for standalone HTTP server (default: '8080'). Ignored in attached mode.

wsPath?: string

Path prefix for the WebSocket endpoint (default: '/ws').