RequestToken uses JwtTrait

Internal

Table of Contents

Constants

HEADER_NAME  = 'X-TYPO3-RequestToken'
PARAM_NAME  = '__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<string|int, mixed> $params = [] ]) : mixed
Parameters
$scope : string
$time : DateTimeImmutable|null = null
$params : array<string|int, mixed> = []

create()

public static create(string $scope) : self
Parameters
$scope : string
Return values
self

withMergedParams()

public withMergedParams(array<string|int, mixed> $params) : self
Parameters
$params : array<string|int, mixed>
Return values
self

withParams()

public withParams(array<string|int, mixed> $params) : self
Parameters
$params : array<string|int, mixed>
Return values
self

        
On this page

Search results