Expand description
Basic HTTP Authentication (RFC 7617)
Implements the simple username/password authentication scheme where credentials are Base64-encoded and sent in the Authorization header.
§Security Considerations
- Basic auth transmits credentials in an easily decoded format (Base64)
- Always use HTTPS to prevent credential interception
- This module provides an
https_onlyoption to enforce secure connections - All credentials are wrapped in
Secret<T>for automatic memory zeroing
Structs§
- Basic
Auth Provider - Basic authentication provider implementing RFC 7617.