Skip to main content

Module extractor

Module extractor 

Source
Expand description

Axum extractors for authentication.

  • AuthUser — optional; returns None if not authenticated.
  • RequireAuth — strict; rejects with 401 if not authenticated.

Structs§

AuthUser
Optional authentication extractor.
RequireAuth
Strict authentication extractor.