| 1: | <?php |
| 2: | namespace Worldline\Connect\Sdk\Webhooks; |
| 3: | |
| 4: | use Exception; |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | class SecretKeyNotAvailableException extends SignatureValidationException |
| 12: | { |
| 13: | |
| 14: | |
| 15: | |
| 16: | private string $keyId; |
| 17: | |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | public function __construct(string $keyId, ?string $message = null, ?Exception $previous = null) |
| 24: | { |
| 25: | parent::__construct($message, $previous); |
| 26: | $this->keyId = $keyId; |
| 27: | } |
| 28: | |
| 29: | |
| 30: | |
| 31: | |
| 32: | public function getKeyId(): string |
| 33: | { |
| 34: | return $this->keyId; |
| 35: | } |
| 36: | } |
| 37: | |