We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953b2c8 commit 916864eCopy full SHA for 916864e
src/ExpiredException.php
@@ -6,6 +6,8 @@ class ExpiredException extends \UnexpectedValueException implements JWTException
6
{
7
private object $payload;
8
9
+ private ?int $timestamp = null;
10
+
11
public function setPayload(object $payload): void
12
13
$this->payload = $payload;
@@ -15,4 +17,14 @@ public function getPayload(): object
15
17
16
18
return $this->payload;
19
}
20
21
+ public function setTimestamp(int $timestamp): void
22
+ {
23
+ $this->timestamp = $timestamp;
24
+ }
25
26
+ public function getTimestamp(): ?int
27
28
+ return $this->timestamp;
29
30
0 commit comments