namespace StellaOps.Signals.Scm.Webhooks;
///
/// Interface for webhook signature validation.
///
public interface IWebhookSignatureValidator
{
///
/// Validates the webhook signature.
///
/// Raw request body bytes.
/// Signature from request header.
/// Webhook secret.
/// True if signature is valid.
bool IsValid(ReadOnlySpan payload, string? signature, string secret);
}