Argon2id, Standard-Admin mit Einmalpasswort in Datei, eigener Admin bei der ersten Einrichtung, Rollen admin und nutzer, Benutzerverwaltung, Mein Konto, nexus user. Die Anmeldung mit API-Key an der Oberfläche entfällt. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GmHhg3osejhFSpUz472iQ1
24 lines
673 B
Rust
24 lines
673 B
Rust
//! Gemeinsame Typen, Fehler und Konfiguration für alle Nexus-Crates.
|
|
//!
|
|
//! Dieses Crate hat keine Abhängigkeit zu Datenbank oder Netzwerk.
|
|
|
|
mod apikey;
|
|
mod config;
|
|
mod error;
|
|
mod password;
|
|
mod priority;
|
|
mod time;
|
|
|
|
pub use apikey::{generate_api_key, hash_api_key, random_hex};
|
|
pub use config::{Config, SchedulerConfig};
|
|
pub use error::{Error, Result};
|
|
pub use password::{
|
|
MAX_PASSWORD_CHARS, MIN_PASSWORD_CHARS, check_password_rules, generate_one_time_password,
|
|
hash_password, verify_password,
|
|
};
|
|
pub use priority::Priority;
|
|
pub use time::{iso8601_from_unix, now_iso8601};
|
|
|
|
/// Version des Nexus-Workspaces.
|
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|