Railgun JWT

NotValidYetException extends RuntimeExceptionWithPayload
in package

Exception thrown when NotValidBeforeValidator determines that a token is not valid yet.

Table of Contents

Methods

__construct()  : mixed
convert()  : RuntimeExceptionWithPayload
Converts a normal RuntimeException to one with a payload.
getPayload()  : object
Gets the JWT payload value.
getValidAfter()  : DateTimeImmutable
Gets the time at which the token becomes valid.

Methods

__construct()

public __construct(object $payload, DateTimeInterface|int $validAfter) : mixed
Parameters
$payload : object

Data that was provided for the payload section.

$validAfter : DateTimeInterface|int

Time at which the token becomes valid.

getValidAfter()

Gets the time at which the token becomes valid.

public getValidAfter() : DateTimeImmutable
Return values
DateTimeImmutable
Loading…
On this page

Search results