org.llm4s.llmconnect.auth.AuthConfig
See theAuthConfig companion object
@Stable
A named provider section's auth block: the workload's identity token, plus the keys the provider declares in ProviderConfigSpec.authExtras (a token URL, a federation rule id, ...), resolved by validation. Values are redacted in toString.
Extras are trimmed and a blank one is dropped, however the config is built - as a section's auth block is read - so a blank clientId is absent rather than posted empty, and a required key left blank is reported as missing.
Stable since #1818: it is a field of the Stable NamedProviderConfig and a parameter of ProviderDescriptor.requireAuthExtra, so its shape is covered by the 1.x promise with theirs.
Attributes
- Companion
- object
- Source
- AuthConfig.scala
- Graph
-
- Supertypes
Members list
In this article
