AuthClientOptions
Interface Options of AuthClient.
Propertiesโ
| Name | Type | Description |
|---|---|---|
apiKey | string | The Carmen Cloud API key to exchange for access tokens. |
cloudServiceRegion? | CloudServiceRegion | The region to send requests to. AUTO (the default) uses latency-basedrouting. |
endpoint? | string | Overrides the API base URL (e.g. https://api.dev.carmencloud.com).Takes precedence over cloudServiceRegion. |
renewBeforeExpirySeconds? | number | Renew the cached token this many seconds before it expires. Default: 60. |
retryCount? | number | How many times a failed request is retried. Default: 3. |
Source: auth/index.ts:12