Skip to main content

tuwunel_api/
router.rs

1mod args;
2pub(crate) mod auth;
3mod client_ip;
4mod handler;
5mod html;
6mod proxy;
7mod request;
8mod response;
9pub mod state;
10
11pub use client_ip::{ConfiguredIpSource, TrustedPeerSubnets};
12
13#[cfg(feature = "jwt_login")]
14pub use self::auth::jwt::validate_user;
15pub use self::{
16	args::{Args as Ruma, ArgsAdmin as RumaAdmin},
17	auth::{admin::require_admin, auth_uiaa},
18	client_ip::{ClientIp, RateLimitIp},
19	handler::{RouterExt, RumaHandler},
20	html::ACCOUNT_HEAD,
21	proxy::proxy,
22	request::read_body,
23	response::RumaResponse,
24	state::State,
25};