SecurityEvent
in package
FinalYes
A verified Security Event Token — {@see SsfReceiver::verifySet()}'s result (CONTRACT.md §32.7).
Table of Contents
Properties
- $aud : string|array<string|int, mixed>
- $event : array<string|int, mixed>
- $eventType : string
- $iat : int|float
- $iss : string
- $jti : string
- $subId : array<string|int, mixed>
- $txn : string|null
Methods
- __construct() : mixed
Properties
$aud read-only
public
string|array<string|int, mixed>
$aud
$event read-only
public
array<string|int, mixed>
$event
$eventType read-only
public
string
$eventType
$iat read-only
public
int|float
$iat
$iss read-only
public
string
$iss
$jti read-only
public
string
$jti
$subId read-only
public
array<string|int, mixed>
$subId
$txn read-only
public
string|null
$txn
Methods
__construct()
public
__construct(string $jti, int|float $iat, string $iss, string|array<int, mixed> $aud, string|null $txn, string $eventType, array<string, mixed> $event, array<string, mixed> $subId) : mixed
Parameters
- $jti : string
-
The SET's unique id.
- $iat : int|float
-
When it was issued, seconds since the epoch.
- $iss : string
-
The issuer, equal to the configured one.
- $aud : string|array<int, mixed>
-
The audience as sent: one string, or an array containing yours.
- $txn : string|null
-
The transaction id shared by every SET one operation produced.
- $eventType : string
-
The single
eventskey — an event-type URI, see SsfEventTypes. - $event : array<string, mixed>
-
That event's object, opaque to the helper.
- $subId : array<string, mixed>
-
The RFC 9493 subject identifier, opaque to the helper.