mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-13 12:27:59 +00:00
Implements JWS[C Validatable] generic over the claims type, with a package-level Decode[C] function (Go disallows generic methods). Claims are directly typed as C — no interface or type assertion needed at use sites. PublicJWK[K Key] and TypedKeys[K] provide generic key management. Supports ES256 and RS256 via crypto.Signer.
4 lines
66 B
Modula-2
4 lines
66 B
Modula-2
module github.com/therootcompany/golib/auth/genericjwt
|
|
|
|
go 1.24.0
|