Expand description
Provides a thin layer over jsonwebtoken crate to manage remote JWKS and local secret keys.
Structs§
- Claims
- JwtDecoder
State - Local
Decoder - Local decoder It uses the given JWKS to decode the JWT tokens.
- Remote
Jwks Decoder - Remote JWKS decoder. It fetches the JWKS from the given URL and caches it for the given duration. It uses the cached JWKS to decode the JWT tokens.
- Remote
Jwks Decoder Builder
Enums§
Traits§
- JwtDecoder
- A trait for decoding JWT tokens.