llm_edge_security/
lib.rs

1//! Security layer for LLM Edge Agent
2//!
3//! Provides:
4//! - API key authentication
5//! - JWT token validation
6//! - OAuth2/OIDC (future)
7//! - PII detection and redaction
8//! - Input validation
9
10pub mod auth;
11pub mod error;
12pub mod pii;
13pub mod validation;
14
15pub use auth::{ApiKeyAuth, JwtAuth};
16pub use error::{SecurityError, SecurityResult};
17pub use pii::PIIRedactor;
18
19#[cfg(test)]
20mod tests {
21    #[test]
22    fn test_placeholder() {
23        assert_eq!(2 + 2, 4);
24    }
25}