RequestToken

class \TYPO3\CMS\Core\Security\RequestToken

Uses
JwtTrait

Table of Contents

Constants

HEADER_NAME  : mixed = 'X-TYPO3-RequestToken'
PARAM_NAME  : mixed = '__RequestToken'

Properties

$params  : array<int|string, mixed>
$scope  : string
$time  : DateTimeImmutable

Methods

__construct()  : mixed
create()  : self
fromHashSignedJwt()  : self
getSigningSecretIdentifier()  : SecretIdentifier|null
toHashSignedJwt()  : string
withMergedParams()  : self
withParams()  : self

Constants

HEADER_NAME

public mixed HEADER_NAME = 'X-TYPO3-RequestToken'

PARAM_NAME

public mixed PARAM_NAME = '__RequestToken'

Properties

$params read-only

public array<int|string, mixed> $params

$time read-only

public DateTimeImmutable $time

Methods

__construct()

public __construct(string $scope[, DateTimeImmutable|null $time = null ][, array $params = [] ]) : mixed

Parameters

$scope : string
$time : DateTimeImmutable|null = null
$params : array = []

create()

public static create(string $scope) : self

Parameters

$scope : string

Return values

self

withMergedParams()

public withMergedParams(array $params) : self

Parameters

$params : array

Return values

self

withParams()

public withParams(array $params) : self

Parameters

$params : array

Return values

self
On this page