Creates a CSRF protection middleware that validates requests originate from trusted sources using the Sec-Fetch-Site header.
Sec-Fetch-Site
Configuration options for CSRF validation behavior.
A middleware function that validates requests against CSRF attacks.
Creates a CSRF protection middleware that validates requests originate from trusted sources using the
Sec-Fetch-Siteheader.