TestJwt

org.llm4s.testkit.TestJwt
object TestJwt

Signed JWTs for tests that need a realistic subject token, using the JDK only.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TestJwt.type

Members list

Value members

Concrete methods

def es256(subject: String, audience: String, lifetime: FiniteDuration, issuer: String): String

An ES256 JWT with sub, aud, iss, iat, exp and a unique jti.

An ES256 JWT with sub, aud, iss, iat, exp and a unique jti.

Attributes