cognee_http_server/auth/mod.rs
1//! Slim OSS auth module. The full closed `auth/` subtree (JWT, cookie,
2//! API key, register/reset/verify, password hashing, mailer,
3//! superuser-only extractor, AuthContext, etc.) lives in the closed
4//! `cognee-http-cloud` crate alongside the auth router family. OSS
5//! keeps only the in-extractor types and the default-user fallback.
6
7mod extractor;
8
9pub use extractor::{
10 AuthMethod, AuthenticatedUser, OptionalAuthenticatedUser, default_user_from_state,
11};