Skip to content

IDurableWebhookSigner.Sign(DurableCallback, string, long, ReadOnlySpan<byte>)

Sign(DurableCallback, string, long, ReadOnlySpan<byte>)

abstract
public abstract string? Sign(DurableCallback callback, string webhookId, long timestamp, ReadOnlySpan<byte> body)
Returns the webhook-signature header value of a delivery, or null to send none.

Parameters

callbackDurableCallback
The callback which the delivery belongs to.
webhookIdstring
The delivery's webhook-id.
timestamplong
The delivery attempt's webhook-timestamp, in seconds since the Unix epoch.
bodyReadOnlySpan<byte>
The delivery's body, byte for byte.