‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting:
TYPO3\CMS\Core\FormProtection\AbstractFormProtection TYPO3\CMS\Core\Security\BlockSerializationTrait

Public Member Functions

 persistSessionToken ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\FormProtection\AbstractFormProtection
 clean ()
 
string generateToken ($formName, $action='', $formInstanceName='')
 
bool validateToken ($tokenId, $formName, $action='', $formInstanceName='')
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Security\BlockSerializationTrait
 __wakeup ()
 

Protected Member Functions

string retrieveSessionToken ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\FormProtection\AbstractFormProtection
string getSessionToken ()
 
string generateSessionToken ()
 
 createValidationErrorMessage ()
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\FormProtection\AbstractFormProtection
Closure null $validationFailedCallback
 
string null $sessionToken
 

Detailed Description

Class \TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting.

This is a testing subclass of the abstract \TYPO3\CMS\Core\FormProtection\AbstractFormProtection class.

Definition at line 28 of file FormProtectionTesting.php.

Member Function Documentation

◆ persistSessionToken()

TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting::persistSessionToken ( )

Saves the tokens so that they can be used by a later incarnation of this class.

Reimplemented from TYPO3\CMS\Core\FormProtection\AbstractFormProtection.

Definition at line 44 of file FormProtectionTesting.php.

◆ retrieveSessionToken()

string TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting::retrieveSessionToken ( )
protected

Retrieves all saved tokens.

Returns
‪string The saved token

Reimplemented from TYPO3\CMS\Core\FormProtection\AbstractFormProtection.

Definition at line 35 of file FormProtectionTesting.php.

References TYPO3\CMS\Core\FormProtection\AbstractFormProtection\generateSessionToken().