systemprompt-security 0.6.0

Security infrastructure for systemprompt.io AI governance: JWT, OAuth2 token extraction, scope enforcement, ChaCha20-Poly1305 secret encryption, and the four-layer tool-call governance pipeline.
1
2
3
4
5
6
7
//! Request validation: turns an [`axum::http::HeaderMap`] into a
//! [`systemprompt_models::execution::context::RequestContext`] using a
//! configured JWT secret, issuer, and audience set.

mod validation;

pub use validation::{AuthMode, AuthValidationService};