AccessToken

org.llm4s.llmconnect.auth.AccessToken
See theAccessToken companion object
@Stable
final case class AccessToken

A bearer token and when it stops being valid. The value is redacted in toString.

Build one with the companion apply and change it with the with* setters; the constructor is private, so a field can be added without breaking callers (#1818).

Attributes

Companion
object
Source
AccessTokenProvider.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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
AccessTokenProvider.scala
def withExpiresAt(expiresAt: Instant): AccessToken

Attributes

Source
AccessTokenProvider.scala

Attributes

Source
AccessTokenProvider.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product