Skip to main content

authx_axum/
lib.rs

1pub mod cookies;
2pub mod csrf;
3pub mod errors;
4pub mod extractors;
5pub mod handlers;
6pub mod middleware;
7pub mod oidc;
8pub mod rate_limit;
9pub mod webauthn;
10
11pub use cookies::{clear_session_cookie, set_session_cookie};
12pub use csrf::{CsrfConfig, csrf_middleware};
13pub use errors::AuthErrorResponse;
14pub use extractors::{AuthRejection, RequireAuth, RequireRole};
15pub use handlers::AuthxState;
16pub use middleware::SessionLayer;
17pub use oidc::{
18    OidcFederationState, OidcProviderState, oidc_federation_router, oidc_provider_router,
19};
20pub use rate_limit::{RateLimitConfig, RateLimitLayer};
21pub use webauthn::webauthn_router;