This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Security/Csrf
2014-12-30 11:17:11 +01:00
..
Exception [Security\Csrf] Split CsrfTokenGenerator into CsrfTokenManager and TokenGenerator 2013-10-07 14:50:43 +02:00
Tests No global state for isolated tests and other fixes 2014-12-29 11:03:03 +01:00
TokenGenerator [Security] fixed wrong PHPDoc of the TokenGeneratorInterface 2014-05-02 15:46:37 +02:00
TokenStorage CS fixes 2014-12-04 20:26:11 +00:00
.gitignore [Security] Added CSRF sub-component 2013-09-27 10:08:54 +02:00
composer.json [3.0] Update required PHP to 5.5.9 2014-12-30 11:17:11 +01:00
CsrfToken.php [Security] Added a missing field in SimpleAuthenticationHandler 2013-11-21 07:37:18 +01:00
CsrfTokenManager.php [Csrf] component fixes 2013-10-17 23:29:16 +02:00
CsrfTokenManagerInterface.php CS fixes 2014-12-04 20:26:11 +00:00
LICENSE udpated LICENSE year 2014-01-07 14:29:32 +01:00
phpunit.xml.dist [2.5] silence deprecation notices in new components 2014-12-24 22:27:15 +01:00
README.md updated version to 3.0 2014-11-11 09:37:22 +01:00

Security Component - CSRF

The Security CSRF (cross-site request forgery) component provides a class CsrfTokenManager for generating and validating CSRF tokens.

Resources

Documentation:

http://symfony.com/doc/3.0/book/security.html

Tests

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Security/Csrf/
$ composer.phar install --dev
$ phpunit