TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\FormProtection\DisabledFormProtection Class Reference
Inheritance diagram for TYPO3\CMS\Core\FormProtection\DisabledFormProtection:
TYPO3\CMS\Core\FormProtection\AbstractFormProtection

Public Member Functions

 generateToken ($formName, $action='', $formInstanceName='')
 
 validateToken ($tokenId, $formName, $action='', $formInstanceName='')
 
 persistSessionToken ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\FormProtection\AbstractFormProtection
 __destruct ()
 
 clean ()
 
 generateToken ($formName, $action='', $formInstanceName='')
 
 validateToken ($tokenId, $formName, $action='', $formInstanceName='')
 
 persistSessionToken ()
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Core\FormProtection\AbstractFormProtection
 $validationFailedCallback
 
 $sessionToken
 

Detailed Description

This class is a dummy implementation of the form protection, which is used when no authentication is used.

Definition at line 21 of file DisabledFormProtection.php.

Member Function Documentation

◆ generateToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::generateToken (   $formName,
  $action = '',
  $formInstanceName = '' 
)

Disable parent method

Parameters
string$formName
string$action
string$formInstanceName
Returns
string

Definition at line 31 of file DisabledFormProtection.php.

◆ persistSessionToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::persistSessionToken ( )

Dummy implementation

Definition at line 61 of file DisabledFormProtection.php.

◆ retrieveSessionToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::retrieveSessionToken ( )
protected

Dummy implementation

Definition at line 54 of file DisabledFormProtection.php.

◆ validateToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::validateToken (   $tokenId,
  $formName,
  $action = '',
  $formInstanceName = '' 
)

Disable parent method. Always return TRUE.

Parameters
string$tokenId
string$formName
string$action
string$formInstanceName
Returns
bool

Definition at line 46 of file DisabledFormProtection.php.