//! Local username/password credential management.
//!
//! Provides types for validated usernames, password-carrying credentials with
//! automatic zeroization, and a [`CredentialStore`] trait for pluggable
//! storage backends. An [`InMemoryCredentialStore`] is included for testing.
//!
//! # Security
//!
//! - Passwords in [`Credentials`] are wrapped in [`crate::crypto::zeroize::Zeroizing`] and cleared
//! from memory on drop.
//! - Usernames are validated at construction time via [`crate::util::validation::is_valid_username`].
//! - The [`CredentialStore`] trait stores only [`crate::local::password::PasswordHash`] values, never
//! raw passwords.
pub use ;
pub use ;