Expand description
Module that handles the authentication and
Structs§
- Auth
Token - Represents the result of authentication, indicating whether it was successful or not.
- Credentials 🔒
- Represents user credentials extracted from an authorization header.
Functions§
- extract_
credentials 🔒 - Extracts credentials from the authorization header in the following steps
- verify_
login - Verifies user login based on extracted credentials and configuration settings.
- verify_
secure_ index - Verifies the secure index of the directory/file that’s being accessed.
- verify_
token - Verifies a session token extracted from an HTTP request against stored session mappings and configuration.