Crate axum_jwt_auth

Source
Expand description

Provides a thin layer over jsonwebtoken crate to manage remote JWKS and local secret keys.

Structs§

Claims
JwtDecoderState
LocalDecoder
Local decoder It uses the given JWKS to decode the JWT tokens.
RemoteJwksDecoder
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.
RemoteJwksDecoderBuilder

Enums§

AuthError
Decoder
Error

Traits§

JwtDecoder
A trait for decoding JWT tokens.