Axum-based HTTP server and API gateway for systemprompt.io AI governance infrastructure. Exposes governed agents, MCP, A2A, and admin endpoints with rate limiting and RBAC.
//! Self-service user account routes scoped to the authenticated caller.
//!//! Hosts the `/me` endpoints, including session revocation in [`sessions`].
pubmodsessions;useaxum::Router;useaxum::routing::post;usesystemprompt_runtime::AppContext;pubfnrouter(ctx:&AppContext)-> Router{Router::new().route("/me/sessions/revoke_all",post(sessions::revoke_all_mine)).with_state(ctx.clone())}