AccessClaim implements JsonSerializable
Representation of a claim (request) to a specific subject, before being granted.
The user still has to verify, that this claim is correct, by entering their password.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $expiration : int
- $id : string
- $instruction : ServerRequestInstruction
- $subject : AccessSubjectInterface
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$expiration read-only
public
int
$expiration
$id read-only
public
string
$id
$instruction read-only
public
ServerRequestInstruction
$instruction
$subject read-only
public
AccessSubjectInterface
$subject
Methods
__construct()
public
__construct(AccessSubjectInterface $subject, ServerRequestInstruction $instruction, int $expiration[, string|null $id = null ]) : mixed
Parameters
- $subject : AccessSubjectInterface
- $instruction : ServerRequestInstruction
- $expiration : int
- $id : string|null = null
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>