Skip to main content

Interface: WebChatAuthParams

Defined in: packages/agentos/src/io/channels/adapters/WebChatChannelAdapter.ts:58

Platform-specific parameters for WebChat connections.

Extends​

  • Record<string, string | undefined>

Indexable​

[key: string]: string | undefined

Properties​

apiKey?​

optional apiKey: string

Defined in: packages/agentos/src/io/channels/adapters/WebChatChannelAdapter.ts:60

API key for authenticating WebSocket clients. Optional.


corsOrigins?​

optional corsOrigins: string

Defined in: packages/agentos/src/io/channels/adapters/WebChatChannelAdapter.ts:62

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


port?​

optional port: string

Defined in: packages/agentos/src/io/channels/adapters/WebChatChannelAdapter.ts:64

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


wsPath?​

optional wsPath: string

Defined in: packages/agentos/src/io/channels/adapters/WebChatChannelAdapter.ts:66

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