Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
24
src/Framework/Webhook/Attributes/WebhookSignature.php
Normal file
24
src/Framework/Webhook/Attributes/WebhookSignature.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\Webhook\Attributes;
|
||||
|
||||
use Attribute;
|
||||
|
||||
/**
|
||||
* Attribute to configure webhook signature verification
|
||||
* Supports multiple signature algorithms and header formats
|
||||
*/
|
||||
#[Attribute(Attribute::TARGET_METHOD)]
|
||||
final readonly class WebhookSignature
|
||||
{
|
||||
public function __construct(
|
||||
public string $algorithm = 'sha256',
|
||||
public string $header = 'X-Signature',
|
||||
public ?string $secretKey = null,
|
||||
public string $encoding = 'hex',
|
||||
public string $prefix = ''
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user