Creates a CSRF token middleware that validates requests using a token stored in a cookie and submitted in form data.
Configuration options for CSRF token validation.
A tuple containing the middleware function and a getter for the token.
Creates a CSRF token middleware that validates requests using a token stored in a cookie and submitted in form data.