Expand description
JWT service for encoding, decoding, and validation.
Structs§
- JwtConfig
- Configuration for JWT encoding and decoding.
- JwtService
- JWT service for encoding, decoding, and validating tokens.
- Rotation
Key - One entry in the rotation key set: secret material plus the key id that
tokens signed with it carry in their
kidheader.
Enums§
- JwtAlgorithm
- Supported JWT algorithms.
Constants§
- DEFAULT_
LEEWAY_ SECS - Default validation leeway (seconds) applied when
JwtConfig::leewayisNone. Matchesjsonwebtoken’s own default, but is set explicitly so the effective skew tolerance never changes silently underneath us. - DEFAULT_
REQUIRED_ CLAIMS - Claims required to be present in every token unless overridden via
JwtConfig::required_claims. - DEFAULT_
REVOCATION_ MAX_ ENTRIES - Default bound for
InMemoryRevocationStore(featurerevocation).