//! HTTP middleware for orchestrator API
//!
//! Provides complete security middleware chain:
//! 1. Rate limiting - Prevent API abuse
//! 2. Authentication - JWT token validation
//! 3. MFA verification - Multi-factor auth for sensitive operations
//! 4. Authorization - Cedar policy evaluation
//! 5. Audit logging - Complete request audit trail

pub mod audit;
pub mod auth;
pub mod authz;
pub mod mfa;
pub mod rate_limit;
pub mod security_context;

pub use audit::AuditMiddleware;
pub use auth::{auth_middleware, AuthError, AuthMiddleware};
pub use authz::{authz_middleware, AuthzError, AuthzMiddleware};
pub use mfa::{mfa_middleware, MfaError, MfaMiddleware};
pub use rate_limit::{
    rate_limit_middleware, RateLimitConfig, RateLimitError, RateLimitStats, RateLimiter,
};
pub use security_context::SecurityContext;
