Microservice to bring 2FA to self hosted PDSes
at main 504 B view raw
1mod cache; 2mod middleware; 3mod rules; 4 5pub use cache::HandleCache; 6pub use middleware::{ 7 // Core middleware 8 auth_middleware, with_rules, AuthMiddlewareState, 9 // Identity helpers 10 did_equals, did_equals_any, handle_ends_with, handle_ends_with_any, 11 // Scope helpers 12 scope_all, scope_any, scope_equals, 13 // Combined helpers (identity + scope) 14 did_with_scope, did_with_scopes, handle_ends_with_and_scope, handle_ends_with_and_scopes, 15}; 16pub use rules::{AuthRules, SessionData};