Type Alias: WebserviceConfig
Properties
| Property | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Token generation endpoint URL (example: "https://myserver.com/token") |
method | "GET" | "POST" | Yes | HTTP method (example: "POST") |
headers | object | No | HTTP headers (example: {"Authorization":"Bearer xxx"}) |
bodyTemplate | string | No | Request body template with {{roomId}} placeholder (example: "{\"roomId\": \"{{roomId}}\"}") |
responseTokenPath | string | Yes | JSONPath to extract token from response (example: "data.token") |
Defined in
4Players/cortex-typescript-sdk/src/resources/settings.ts:10