Skip to main content

powdb_auth/
lib.rs

1//! `powdb-auth` — argon2id password hashing and a persisted user/role store.
2//!
3//! Slice 1 of PowDB's RBAC epic. This crate is **additive**: it is a tested
4//! library + data model and is not yet wired into the server or CLI, so it
5//! does not change any runtime behavior.
6
7pub mod error;
8pub mod hash;
9pub mod role;
10pub mod store;
11
12pub use error::AuthError;
13pub use hash::{hash_password, verify_password};
14pub use role::{Permission, Role};
15pub use store::{User, UserStore};