Public Member Functions | |
validate (Request $request) | |
The TokenValidatorInterface interface.
An interface for CSRF token validators.
validate | ( | Request | $request | ) |
Checks if the request contains a valid CSRF token.
true
if the token is valid, false
otherwise Implemented in DoubleSubmitCookieTokenValidator.