DataHandlerAuthenticationContext

final readonly class \TYPO3\CMS\Backend\Hooks\DataHandlerAuthenticationContext

DataHandler hook to ensure that columns that require a specific authenticationContext are covered by a recent step-up authentication

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
processCmdmap_preProcess()  : void
Copying a record writes child records (e.g. file references) before the copied record itself is passed through the datamap. Verify the step-up authentication upfront, so nothing is written if it is still required.
processDatamap_postProcessFieldArray()  : void

Methods

processCmdmap_preProcess()

Copying a record writes child records (e.g. file references) before the copied record itself is passed through the datamap. Verify the step-up authentication upfront, so nothing is written if it is still required.

public processCmdmap_preProcess(string $command, string $tableName, int $id, mixed $value, DataHandler $dataHandler, mixed $pasteUpdate) : void

Only direct copy commands are checked; records copied as part of a page or as inline children are not.

Parameters

$command : string
$tableName : string
$id : int
$value : mixed
$dataHandler : DataHandler
$pasteUpdate : mixed

processDatamap_postProcessFieldArray()

public processDatamap_postProcessFieldArray(string $mode, string $tableName, string|int $id, array $fieldArray, DataHandler $dataHandler) : void

Parameters

$mode : string
$tableName : string
$id : string|int
$fieldArray : array
$dataHandler : DataHandler
On this page