Skip to main content

Module middleware

Module middleware 

Source

Re-exports§

pub use authz::AuthzPolicy;
pub use authz::authz_gate;
pub use context::ContextExtractor;
pub use context::ContextMiddleware;
pub use context::ContextRequirement;
pub use jti_revocation::JtiRevocationState;
pub use jti_revocation::jti_revocation_middleware;
pub use negotiation::AcceptedFormat;
pub use negotiation::AcceptedMediaType;
pub use negotiation::content_negotiation_middleware;
pub use negotiation::parse_accept_header;
pub use analytics::*;
pub use bot_detector::*;
pub use cors::*;
pub use ip_ban::*;
pub use jwt::*;
pub use rate_limit::*;
pub use security_headers::*;
pub use served_by::*;
pub use session::*;
pub use site_auth::*;
pub use throttle::*;
pub use trace::*;
pub use trailing_slash::*;

Modules§

analytics
authz
Static, compile-time-enforced per-route authorization.
bot_detector
client_addr
Client-address resolution that does not blindly trust hop headers.
context
cors
ip_ban
jti_revocation
JTI revocation tower layer.
jwt
negotiation
rate_limit
Router extension traits for rate limiting and authenticated route groups.
security_headers
served_by
session
site_auth
throttle
trace
trailing_slash