DataHandlerAuthenticationContext
final readonly class \
DataHandler hook to ensure that columns that require a specific authenticationContext are covered by a recent step-up authentication
Internal
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
__construct()
public
__construct(AccessFactory $factory, AccessStorage $storage, TcaSchemaFactory $tcaSchemaFactory, SudoModeInterceptor $sudoModeInterceptor, EventDispatcherInterface $eventDispatcher) : mixed
Parameters
- $factory : AccessFactory
- $storage : AccessStorage
- $tcaSchemaFactory : TcaSchemaFactory
- $sudoModeInterceptor : SudoModeInterceptor
- $eventDispatcher : EventDispatcherInterface
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