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
CsrfProtectionException Class Exception
File: /SetaFramework/src/Helper/CsrfProtectionException.php
Class hierarchy
Implements
Summary
Constants
INVALID_TOKEN
This means that the given token from the request and an expected token from the session doesn't match.
MISSING_EXPECTED_TOKEN
This means no session was initialized before.
MISSING_TOKEN
This means there wasn't a csrf token in the request.
Properties
$actualToken
private ?string CsrfProtectionException::$actualToken
$code
protected \Exception::$code = 0
$expectedToken
private ?string CsrfProtectionException::$expectedToken
$file
protected \Exception::$file = ''
$line
protected \Exception::$line = 0
$message
protected \Exception::$message = ''
Methods
__clone()
Internal PHP method: Exception::__clone
__toString()
Internal PHP method: Exception::__toString
__wakeup()
Internal PHP method: Exception::__wakeup
getCode()
Internal PHP method: Exception::getCode
getFile()
Internal PHP method: Exception::getFile
getLine()
Internal PHP method: Exception::getLine
getMessage()
Internal PHP method: Exception::getMessage
getPrevious()
Internal PHP method: Exception::getPrevious
getTrace()
Internal PHP method: Exception::getTrace
getTraceAsString()
Internal PHP method: Exception::getTraceAsString
