feat: add auth middleware chain with ctx resolver and cookie parsing

This commit is contained in:
2026-04-21 00:04:10 +03:00
parent 90c9b9d6ff
commit a120838cbc
10 changed files with 252 additions and 45 deletions

View File

@@ -1,3 +1,6 @@
pub mod mw_auth;
pub mod routes_file;
pub mod routes_health;
pub mod routes_login;
pub const AUTH_TOKEN: &str = "auth-token";