Expand description
Slim OSS auth module. The full closed auth/ subtree (JWT, cookie,
API key, register/reset/verify, password hashing, mailer,
superuser-only extractor, AuthContext, etc.) lives in the closed
cognee-http-cloud crate alongside the auth router family. OSS
keeps only the in-extractor types and the default-user fallback.
Structs§
- Authenticated
User - Optional
Authenticated User - Same resolution as
AuthenticatedUserbut never errors — returnsNonewhen authentication fails (instead of 401).
Enums§
Functions§
- default_
user_ from_ state - Synthetic default user used when no auth resolver is wired and
require_authentication=false.