CSRF Dual Middleware Protection: Intelligent Skip Strategy + Token Dual Storage
A CSRF protection system based on NestJS middleware, supporting intelligent skipping of JWT/Webhook/Auth routes, a Cookie + Session dual storage Token scheme, and a dual middleware architecture encompassing CsrfTokenMiddleware and CsrfMiddleware.