‪TYPO3CMS  10.4
DisabledFormProtection.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
23 {
32  public function ‪generateToken($formName, $action = '', $formInstanceName = '')
33  {
34  return 'dummyToken';
35  }
36 
47  public function ‪validateToken($tokenId, $formName, $action = '', $formInstanceName = '')
48  {
49  return true;
50  }
51 
55  protected function ‪retrieveSessionToken()
56  {
57  }
58 
62  public function ‪persistSessionToken()
63  {
64  }
65 }
‪TYPO3\CMS\Core\FormProtection\DisabledFormProtection
Definition: DisabledFormProtection.php:23
‪TYPO3\CMS\Core\FormProtection\DisabledFormProtection\retrieveSessionToken
‪retrieveSessionToken()
Definition: DisabledFormProtection.php:55
‪TYPO3\CMS\Core\FormProtection\DisabledFormProtection\generateToken
‪string generateToken($formName, $action='', $formInstanceName='')
Definition: DisabledFormProtection.php:32
‪TYPO3\CMS\Core\FormProtection\DisabledFormProtection\persistSessionToken
‪persistSessionToken()
Definition: DisabledFormProtection.php:62
‪TYPO3\CMS\Core\FormProtection
Definition: AbstractFormProtection.php:16
‪TYPO3\CMS\Core\FormProtection\DisabledFormProtection\validateToken
‪bool validateToken($tokenId, $formName, $action='', $formInstanceName='')
Definition: DisabledFormProtection.php:47
‪TYPO3\CMS\Core\FormProtection\AbstractFormProtection
Definition: AbstractFormProtection.php:30