AuthConfig

org.llm4s.llmconnect.auth.AuthConfig
See theAuthConfig companion object
@Stable
final case class AuthConfig

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def extra(key: String): Option[String]

Attributes

Source
AuthConfig.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
AuthConfig.scala

Attributes

Source
AuthConfig.scala

Attributes

Source
AuthConfig.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product