BeforeValidException.php
4 weeks ago
CachedKeySet.php
4 weeks ago
ExpiredException.php
4 weeks ago
JWK.php
4 weeks ago
JWT.php
4 weeks ago
JWTExceptionWithPayloadInterface.php
4 weeks ago
Key.php
4 weeks ago
SignatureInvalidException.php
4 weeks ago
JWTExceptionWithPayloadInterface.php
21 lines
| 1 | <?php |
| 2 | namespace Firebase\JWT; |
| 3 | |
| 4 | interface JWTExceptionWithPayloadInterface |
| 5 | { |
| 6 | /** |
| 7 | * Get the payload that caused this exception. |
| 8 | * |
| 9 | * @return object |
| 10 | */ |
| 11 | public function getPayload(): object; |
| 12 | |
| 13 | /** |
| 14 | * Get the payload that caused this exception. |
| 15 | * |
| 16 | * @param object $payload |
| 17 | * @return void |
| 18 | */ |
| 19 | public function setPayload(object $payload): void; |
| 20 | } |
| 21 |