isCsrfTokenValid() protected method

Checks the validity of a CSRF token.
protected isCsrfTokenValid ( string $id, string $token ) : boolean
$id string The id used when generating the token
$token string The actual token sent with the request that should be validated
return boolean
 public function isCsrfTokenValid($id, $token)
 {
     return parent::isCsrfTokenValid($id, $token);
 }