Returns TRUE if the given string is a valid CSRF protection token. The token will be removed if the configured
csrf strategy is 'onePerUri'.
public isCsrfProtectionTokenValid ( string $csrfToken ) : boolean | ||
$csrfToken | string | The token string to be validated |
return | boolean | TRUE, if the token is valid. FALSE otherwise. |