Index
-
\com\setasign\SetaFramework
-
Helper
- ArrayHelper
- ConsoleHelper
- CsrfProtection
- CsrfProtectionException
- DataWrapper
- DatabaseCleaner
- Debugging
- FilesystemHelper
- FunctionWrapper
- JsonHelper
- Logger
- LoggerHelper
- MathHelper
- ObserverClosure
- OutputBufferHelper
- ParameterSanitizer
- PregMatchAllMatchesIterator
- RateLimiter
- ReturnValueClosure
- StringHelper
- SwiftMailerHelper
- UnexpectedOutputException
- UnserializableClosure
-
Helper
com\setasign\SetaFramework\Helper
CsrfProtection Class CsrfProtection
File: /SetaFramework/src/Helper/CsrfProtection.php
Class hierarchy
Summary
Static Methods
checkToken()
public static CsrfProtection::checkToken (
\com\setasign\SetaFramework\Request\ServerRequest $request,
\com\setasign\SetaFramework\Session\SessionInterface $session
): void\com\setasign\SetaFramework\Session\SessionInterface $session
Parameters
- $request : \com\setasign\SetaFramework\Request\ServerRequest
- $session : \com\setasign\SetaFramework\Session\SessionInterface
Exceptions
Throws CsrfProtectionException
