webdav_server/api/auth/mod.rs
1//! Authentication handlers: user registration and session creation.
2//!
3//! Both endpoints are unauthenticated (they sit outside the `auth_guard` middleware)
4//! and are mounted under `/api/auth`. They operate on the [`User`] and [`Session`]
5//! model types to manage identities and opaque session tokens.
6//!
7//! [`User`]: crate::model::user::User
8//! [`Session`]: crate::model::session::Session
9mod login;
10mod register;
11
12pub use login::login;
13pub use register::register;