* Express middleware that rejects unauthenticated requests. * For browser clients it redirects to /auth/login; for API clients it * returns 401 JSON.
(req: Request, res: Response, next: NextFunction)
| 49 | * returns 401 JSON. |
| 50 | */ |
| 51 | requireAuth(req: Request, res: Response, next: NextFunction): void; |
| 52 | } |
| 53 | |
| 54 | // ── Cookie helpers ────────────────────────────────────────────────────────── |
nothing calls this directly
no outgoing calls
no test coverage detected