Jwt

object Jwt

Json Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. Spec: https://datatracker.ietf.org/doc/html/rfc7519

Functions

Link copied to clipboard

Decode a JWT into its parts.

Link copied to clipboard
fun sign(did: BearerDid, payload: JwtClaimsSet): String

Sign a JwtClaimsSet using a Bearer DID.

Link copied to clipboard

Verify a JWT.