Documentation
¶
Overview ¶
Package auth documents the authentication-related subpackages and SQL artefacts in this module.
The package itself intentionally contains no runtime helpers. Use the focused subpackages directly:
- passwords for bcrypt hashing, verification, email normalization, and HIBP-compatible password strength checks.
- sessions for random session tokens, token hashing, secure cookies, and request base URL helpers.
The schema directory contains copyable SQL migrations and queries for consumers that want the shared authentication schema.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package passwords provides bcrypt password hashing, email normalization, and breach-check via the HaveIBeenPwned k-anonymity API.
|
Package passwords provides bcrypt password hashing, email normalization, and breach-check via the HaveIBeenPwned k-anonymity API. |
|
Package schema documents the authentication SQL artefacts shipped with this module.
|
Package schema documents the authentication SQL artefacts shipped with this module. |
|
Package sessions provides session token generation, cookie helpers, session policy, and request URL/host detection.
|
Package sessions provides session token generation, cookie helpers, session policy, and request URL/host detection. |
Click to show internal directories.
Click to hide internal directories.