Skip to main content

Crate powdb_auth

Crate powdb_auth 

Source
Expand description

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.

Re-exports§

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

Modules§

error
hash
Argon2id password hashing.
role
Permission and role model for PowDB RBAC.
store
Persisted user/role store backed by auth.json.