AccessFactory

class \TYPO3\CMS\Backend\Security\SudoMode\Access\AccessFactory

Factory to create `AccessClaim`, `AccessGrant` and `RouteAccessSubject` instances.

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Constants

DEFAULT_CLAIM_LIFETIME  : mixed = 300

Properties

$currentTimestamp  : int

Methods

__construct()  : mixed
buildClaimForSubjectRequest()  : AccessClaim
buildClaimFromArray()  : AccessClaim
buildGrantForSubject()  : AccessGrant
buildGrantFromArray()  : AccessGrant
buildRouteAccessSubject()  : RouteAccessSubject
buildSubjectFromArray()  : AccessSubjectInterface
buildTableAccessSubject()  : TableAccessSubject

Constants

DEFAULT_CLAIM_LIFETIME

protected mixed DEFAULT_CLAIM_LIFETIME = 300

Properties

$currentTimestamp read-only

protected int $currentTimestamp

Methods

buildTableAccessSubject()

public buildTableAccessSubject(string $tableName, string $fieldName, string $id, array $settings) : TableAccessSubject

Parameters

$tableName : string
$fieldName : string
$id : string
$settings : array

Return values

TableAccessSubject
On this page