An action that provides CSRF protection.
A filter that provides CSRF protection.
The CSRF module.
CSRF add token action.
CSRF add token action.
Apply this to all actions that render a form that contains a CSRF token.
CSRF check action.
CSRF check action.
Apply this to all actions that require a CSRF check.
Default global, use this if CSRF is your only Filter
A filter that provides CSRF protection.
These must be by name parameters because the typical use case for instantiating the filter is in Global, which happens before the application is started. Since the default values for the parameters are loaded from config and hence depend on a started application, they must be by name.