Skip to main content

Module auth

Module auth 

Source

Structs§

AuthState
Shared authentication state for the HTTP server.
JwtClaims
JWT claims extracted from a Bearer token payload.

Functions§

extract_unverified_jwt_claims
Parse a JWT token and extract claims from the payload without verifying the signature.
require_auth
Axum middleware layer that enforces Bearer token auth on every request except public paths.