Skip to main content

Module http_auth

Module http_auth 

Source
Expand description

HTTP middleware for Bearer token authentication using JWT/JWKS.

Functionsยง

auth_middleware
Axum middleware that validates Bearer tokens using a JwksCache.
with_auth_layer
Wrap a router with Bearer-token authentication backed by a JWKS cache.