CSRF
in package
implements
FilterInterface
CSRF filter.
This filter is not intended to be used from the command line.
Tags
Table of Contents
Interfaces
- FilterInterface
- Filter interface
Methods
- after() : ResponseInterface|null
- We don't have anything to do here.
- before() : RedirectResponse|null
- CSRF verification.
Methods
after()
We don't have anything to do here.
public
after(RequestInterface $request, ResponseInterface $response[, array<int, string>|null $arguments = null ]) : ResponseInterface|null
Parameters
- $request : RequestInterface
- $response : ResponseInterface
- $arguments : array<int, string>|null = null
Return values
ResponseInterface|nullbefore()
CSRF verification.
public
before(RequestInterface $request[, array<int, string>|null $arguments = null ]) : RedirectResponse|null
Parameters
- $request : RequestInterface
- $arguments : array<int, string>|null = null