actix_web_admin/auth/mod.rs
1pub mod json_store;
2pub mod middleware;
3pub mod store;
4
5pub use json_store::JsonUserStore;
6pub use middleware::RequireAuth;
7pub use store::{hash_password, verify_password, AuthError, User, UserStore};
8
9/// Helper to generate a unique user ID (nanosecond timestamp as hex).
10pub use store::generate_id;
11
12/// Helper to get current timestamp in ISO 8601 format.
13pub use store::timestamp;