├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── composer.json ├── humbug.json.dist ├── phpcs.xml.dist ├── phpunit.xml.dist └── src └── PSR7Csrf ├── CSRFCheckerMiddleware.php ├── Exception ├── ExceptionInterface.php ├── InvalidExpirationTimeException.php ├── InvalidRequestParameterNameException.php └── SessionAttributeNotFoundException.php ├── Factory.php ├── HttpMethod ├── IsSafeHttpRequest.php └── IsSafeHttpRequestInterface.php ├── RequestParameter ├── ExtractCSRFParameter.php └── ExtractCSRFParameterInterface.php ├── Session ├── ExtractUniqueKeyFromSession.php └── ExtractUniqueKeyFromSessionInterface.php ├── TokenGenerator.php └── TokenGeneratorInterface.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/composer.json -------------------------------------------------------------------------------- /humbug.json.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/humbug.json.dist -------------------------------------------------------------------------------- /phpcs.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/phpcs.xml.dist -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/PSR7Csrf/CSRFCheckerMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/CSRFCheckerMiddleware.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Exception/ExceptionInterface.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Exception/InvalidExpirationTimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Exception/InvalidExpirationTimeException.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Exception/InvalidRequestParameterNameException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Exception/InvalidRequestParameterNameException.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Exception/SessionAttributeNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Exception/SessionAttributeNotFoundException.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Factory.php -------------------------------------------------------------------------------- /src/PSR7Csrf/HttpMethod/IsSafeHttpRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/HttpMethod/IsSafeHttpRequest.php -------------------------------------------------------------------------------- /src/PSR7Csrf/HttpMethod/IsSafeHttpRequestInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/HttpMethod/IsSafeHttpRequestInterface.php -------------------------------------------------------------------------------- /src/PSR7Csrf/RequestParameter/ExtractCSRFParameter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/RequestParameter/ExtractCSRFParameter.php -------------------------------------------------------------------------------- /src/PSR7Csrf/RequestParameter/ExtractCSRFParameterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/RequestParameter/ExtractCSRFParameterInterface.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Session/ExtractUniqueKeyFromSession.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Session/ExtractUniqueKeyFromSession.php -------------------------------------------------------------------------------- /src/PSR7Csrf/Session/ExtractUniqueKeyFromSessionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/Session/ExtractUniqueKeyFromSessionInterface.php -------------------------------------------------------------------------------- /src/PSR7Csrf/TokenGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/TokenGenerator.php -------------------------------------------------------------------------------- /src/PSR7Csrf/TokenGeneratorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/PSR7Csrf/HEAD/src/PSR7Csrf/TokenGeneratorInterface.php --------------------------------------------------------------------------------