AccessGrant implements JsonSerializable
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 read-only
        public
            int
    $expiration
    
    
    
    
    
    
$subject read-only
        public
            AccessSubjectInterface
    $subject
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(AccessSubjectInterface $subject, int $expiration) : mixed
    Parameters
- $subject : AccessSubjectInterface
- $expiration : int
jsonSerialize()
    public
                    jsonSerialize() : array<string|int, mixed>