AuthClientOptions

Interface Options of AuthClient.

Propertiesโ€‹

NameTypeDescription
apiKeystringThe Carmen Cloud API key to exchange for access tokens.
cloudServiceRegion?CloudServiceRegionThe region to send requests to. AUTO (the default) uses latency-based
routing.
endpoint?stringOverrides the API base URL (e.g. https://api.dev.carmencloud.com).
Takes precedence over cloudServiceRegion.
renewBeforeExpirySeconds?numberRenew the cached token this many seconds before it expires.
Default: 60.
retryCount?numberHow many times a failed request is retried. Default: 3.

Source: auth/index.ts:12