AccessGrant implements JsonSerializable
Read onlyYes
Representation of any granted access to a particular subject, having an expiration time.
The user successfully verified a previous AccessClaim by entering their password.
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$expiration
public
int
$expiration
$subject
public
AccessSubjectInterface
$subject
Methods
__construct()
public
__construct(AccessSubjectInterface $subject, int $expiration) : mixed
Parameters
- $subject : AccessSubjectInterface
- $expiration : int
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>