Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication middleware.

Provides bearer token authentication for protected endpoints.

Structs§

BearerAuthState
Shared state for bearer token authentication.

Functions§

bearer_auth_middleware
Bearer token authentication middleware.
extract_bearer_token
Extract the bearer token from an Authorization header value.