powdb-auth 0.4.7

Argon2 password hashing and a persisted user/role store for PowDB RBAC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `powdb-auth` — argon2id password hashing and a persisted user/role store.
//!
//! Slice 1 of PowDB's RBAC epic. This crate is **additive**: it is a tested
//! library + data model and is not yet wired into the server or CLI, so it
//! does not change any runtime behavior.

pub mod error;
pub mod hash;
pub mod role;
pub mod store;

pub use error::AuthError;
pub use hash::{hash_password, verify_password};
pub use role::{Permission, Role};
pub use store::{User, UserStore};