Skip to main content

Module auth

Module auth 

Source

Structs§

UserAuth
Extractor that validates user authentication

Functions§

csrf_protection_middleware
Middleware that rejects state-changing cross-origin browser requests, protecting cookie-authenticated UI routes against CSRF.
is_request_origin_allowed 🔒