JWSDecoded

soidc.jwt.JWSDecoded
See theJWSDecoded companion object
final case class JWSDecoded[H, C](jws: JWS, header: H, claims: C)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def updateClaims(key: JWK, f: C => C)(using ByteEncoder[H], ByteEncoder[C]): Either[SignError, JWSDecoded[H, C]]
def updateHeader(key: JWK, f: H => H)(using ByteEncoder[H], ByteEncoder[C]): Either[SignError, JWSDecoded[H, C]]
def validate(key: JWK, currentTime: Instant, timingLeeway: Duration)(using StandardClaimsRead[C], StandardHeaderRead[H]): Result
def validateWithoutSignature(currentTime: Instant, timingLeeway: Duration)(using StandardClaimsRead[C]): Result
def withClaims(key: JWK, c: C)(using ByteEncoder[H], ByteEncoder[C]): Either[SignError, JWSDecoded[H, C]]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Exports

Defined exports

lazy val compact: String
Exported from JWS
lazy val payload: ByteVector
Exported from JWS