org.llm4s.llmconnect.auth.TokenExchangeConfig
See theTokenExchangeConfig companion object
@Stable
An RFC 8693 token exchange: present identityToken at tokenUrl, get back a short-lived bearer token. Databricks workload identity federation is one such endpoint (https://<workspace>/oidc/v1/token, scope = all-apis, clientId = the service principal).
toString shows tokenUrl without its userinfo or query, which may carry credentials, and redacts clientId.
Stable since #1818: OpenAICompatibleConfig.tokenExchange and OpenAICompatibleClient.Credential.Exchange carry it. The exchange itself (TokenExchange) is still Experimental.
Attributes
- Companion
- object
- Source
- TokenExchange.scala
- Graph
-
- Supertypes
Members list
In this article
