Exchange

org.llm4s.llmconnect.provider.OpenAICompatibleClient.Credential.Exchange
final case class Exchange(config: TokenExchangeConfig)

Authorization: Bearer <token>, the token obtained by the RFC 8693 exchange config describes, cached until shortly before it expires and refreshed once on a 401. The exchange goes through the client's own HTTP client, closed with the client.

Attributes

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
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
Credential -> Any
Inherited from:
Credential