Rules 8 and 9 are the two a reviewer cannot see from a diff: where core sits in package.json, and whether engines, the README table and JSR still agree. A static test makes a drift fail the build instead of reaching a user. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
339 B
339 B
Changelog
[Unreleased]
Added
jwt({ keys, provides? }): loads each JWK file while providers boot and publishes aJwtRegistryunderprovides(defaultjwt).Signersigns withiatand a randomjti, and verifies issuer and audience.JwtRegistry.publicJwk(name)returns a key's public half for a JWKS endpoint.