RequestToken
uses
JwtTrait
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
public
mixed
HEADER_NAME
= 'X-TYPO3-RequestToken'
PARAM_NAME
public
mixed
PARAM_NAME
= '__RequestToken'
$params
read-only
public
array<int|string, mixed>
$params
$scope
read-only
public
string
$scope
$time
read-only
public
DateTimeImmutable
$time
__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
-
fromHashSignedJwt()
public
static fromHashSignedJwt(string $jwt, SigningSecretInterface|SigningSecretResolver $secret) : self
Parameters
-
$jwt
: string
-
-
$secret
: SigningSecretInterface|SigningSecretResolver
-
getSigningSecretIdentifier()
public
getSigningSecretIdentifier() : SecretIdentifier|null
toHashSignedJwt()
public
toHashSignedJwt(SigningSecretInterface $secret) : string
Parameters
-
$secret
: SigningSecretInterface
-
withMergedParams()
public
withMergedParams(array<string|int, mixed> $params) : self
Parameters
-
$params
: array<string|int, mixed>
-
withParams()
public
withParams(array<string|int, mixed> $params) : self
Parameters
-
$params
: array<string|int, mixed>
-