AgenticTokenCacheOptions interface

Options for constructing an AgenticTokenCache instance.

Properties

authScopes

OAuth scopes for token exchange. Defaults to the A365 observability scope.

exchangeTimeoutMs

Per-attempt timeout (ms) for the exchangeToken call. A timed-out attempt is treated as a retriable error. Set to 0 or a negative value to disable (wait indefinitely). Overridden by the A365_OBSERVABILITY_TOKEN_EXCHANGE_TIMEOUT_MS env var.

Property Details

authScopes

OAuth scopes for token exchange. Defaults to the A365 observability scope.

authScopes?: string[]

Property Value

string[]

exchangeTimeoutMs

Per-attempt timeout (ms) for the exchangeToken call. A timed-out attempt is treated as a retriable error. Set to 0 or a negative value to disable (wait indefinitely). Overridden by the A365_OBSERVABILITY_TOKEN_EXCHANGE_TIMEOUT_MS env var.

exchangeTimeoutMs?: number

Property Value

number