Something went wrong. Try again.
Microservice to bring 2FA to self hosted PDSes forked from pds.dad/pds-gatekeeper
Something went wrong. Try again.
504 B · 16 lines
Rust
at test
1234567891011121314151617mod cache;mod middleware;mod rules;
pub use cache::HandleCache;pub use middleware::{ // Core middleware auth_middleware, with_rules, AuthMiddlewareState, // Identity helpers did_equals, did_equals_any, handle_ends_with, handle_ends_with_any, // Scope helpers scope_all, scope_any, scope_equals, // Combined helpers (identity + scope) did_with_scope, did_with_scopes, handle_ends_with_and_scope, handle_ends_with_and_scopes,};pub use rules::{AuthRules, SessionData};