| 1 | <?php |
||
| 19 | class HmacViewHelper extends AbstractViewHelper |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Hash Service |
||
| 23 | * |
||
| 24 | * @var \TYPO3\CMS\Extbase\Security\Cryptography\HashService |
||
| 25 | * */ |
||
| 26 | protected $hashService; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * DI for $hashService |
||
| 30 | * |
||
| 31 | * @param \TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService |
||
| 32 | */ |
||
| 33 | public function injectHashService(\TYPO3\CMS\Extbase\Security\Cryptography\HashService $hashService) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Initialize arguments |
||
| 40 | */ |
||
| 41 | public function initializeArguments() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Returns the hmac for the given registration in order to cancel the registration |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function render() |
||
| 63 | } |
||
| 64 |