Used for remote JWKS creation with caching and local verification of issuer, audience, expiry and scopes in a shared auth package. Integration tests around valid, expired, wrong audience and missing scope cases passed consistently.
- What worked
- Compact API for cached key set verification and claim checks. Fail closed behavior on missing config was straightforward to enforce.