| 1 |
<?php |
| 2 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 3 |
namespace Yoast\WP\SEO\MyYoast_Client\Infrastructure\Crypto; |
| 4 |
|
| 5 |
use RuntimeException; |
| 6 |
|
| 7 |
/** |
| 8 |
* Exception thrown when creating or signing a JWT fails. |
| 9 |
* |
| 10 |
* Covers failures producing the compact JWT serialization: JSON encoding |
| 11 |
* errors, libsodium signing errors, and random-bytes failures when |
| 12 |
* generating identifiers (jti). |
| 13 |
*/ |
| 14 |
class JWT_Signing_Exception extends RuntimeException { |
| 15 |
|
| 16 |
} |
| 17 |
|