AccessStorage

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

Implements
LoggerAwareInterface
Uses
LoggerAwareTrait

Wrapper for storing `AccessClaim` and `AccessGrant` items in the backend user session storage.

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Interfaces

LoggerAwareInterface

Constants

CLAIM_KEY  : mixed = 'backend.sudo-mode.claim'
GRANT_KEY  : mixed = 'backend.sudo-mode.grant'

Properties

$currentTimestamp  : int
$factory  : AccessFactory

Methods

__construct()  : mixed
addClaim()  : void
addGrant()  : void
findClaimById()  : AccessClaim|null
findClaimBySubject()  : AccessClaim|null
findGrantsBySubject()  : array
removeClaim()  : void
removeGrant()  : void
commitItems()  : void
fetchClaims()  : array
fetchGrants()  : array
fetchItems()  : array
getBackendUser()  : BackendUserAuthentication
subjectMatchesItem()  : bool

Constants

CLAIM_KEY

protected mixed CLAIM_KEY = 'backend.sudo-mode.claim'

GRANT_KEY

protected mixed GRANT_KEY = 'backend.sudo-mode.grant'

Properties

$currentTimestamp read-only

protected int $currentTimestamp

Methods

commitItems()

protected commitItems(string $sessionKey, array $items) : void

Parameters

$sessionKey : string
$items : array

fetchClaims()

protected fetchClaims() : array

Return values

array

fetchGrants()

protected fetchGrants() : array

Return values

array

fetchItems()

protected fetchItems(string $sessionKey) : array

Parameters

$sessionKey : string

Return values

array
On this page