nextcloud-server/tests/lib/security/csrf
..
tokenstorage
CsrfTokenGeneratorTest.php
CsrfTokenManagerTest.php
CsrfTokenTest.php