moonbitstack/mooncred/jwt does not have a README file
pub(all) suberror Refused {
Shape(String)
Algorithm(want~ : String, got~ : String)
Signature
Expired(at~ : Double)
TooEarly(at~ : Double)
Issuer(want~ : String, got~ : String)
Audience(want~ : Array[String])
Subject(want~ : String, got~ : String)
IssuedAt(at~ : Double)
Type(want~ : String, got~ : String)
Missing(claim~ : String)
} derive(Eq, Debug)type Keyedpub(all) enum OnClash[T] {
Ignore
Panic
Handle((T, T) -> T)
}Install
Download zipmooncred — credential formats for MoonBit: JSON Web Tokens, JWS and JWK with the JOSE algorithm set, and X.509 certificates with chain validation to the Mozilla roots, built on mooncrypt's algorithms.