Hello , Here you can find the related codes for the CSRF prevention methods. The files marked step-2.php and step-3.php are for the Synchronizer token pattern. The files named as ddcli.php and ddserv.php are for the Double submit token pattern.
thank you.