AuthClientOptions
from carmen_cloud_client import AuthClientOptions
Options of :class:AuthClient.
Attributes
api_key : str
The Carmen Cloud API key to exchange for access tokens.
endpoint : Optional[str]
Overrides the API base URL (e.g. https://api.dev.carmencloud.com).
cloud_service_region : Optional[CloudServiceRegion]
AUTO (default, latency-based routing), EU or US.
retry_count : Optional[int]
How many times a failed request is retried. Default: 3.
renew_before_expiry_seconds : int
Renew the cached token this many seconds before it expires. Default: 60.
Fieldsโ
| Name | Type | Default |
|---|---|---|
api_key | str | โ |
endpoint | Optional[str] | None |
cloud_service_region | Optional[Union[CloudServiceRegion, str]] | None |
retry_count | Optional[int] | 3 |
renew_before_expiry_seconds | int | 60 |