1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Namespace security configuration.
//!
//! Historically this module hosted `NamespaceAccessManager` + `TokenStore`: a
//! single-token-per-namespace auth layer with a bespoke on-disk schema. That
//! implementation was superseded by [`crate::auth::AuthManager`], which
//! provides per-token scopes, namespace ACLs, argon2id-hashed storage, and
//! rotation.
//!
//! What remains here is the runtime-configuration struct consumed by
//! [`crate::ServerConfig`]. The rest of the legacy surface was deleted along
//! with the Track C migration (v0.6.0). If you are looking for "how do I
//! check access to a namespace?" — go to `crate::auth::AuthManager`.
//!
//! Vibecrafted with AI Agents by Loctree (c)2024-2026 The LibraxisAI Team
use ;
/// Configuration for namespace security (token-based access control).
///
/// Preserved as a config DTO so CLI/file-config surfaces keep working. The
/// actual enforcement now lives in [`crate::auth::AuthManager`]; this struct
/// only tells the runtime *whether* to spin up an auth manager and where the
/// token store lives on disk.