# verifyWebhookSignature

verifyWebhookSignature in @provenanceauth/sdk, Verifiers. Verify a `Provenance-Signature` header against the raw delivery body and your endpoint secret.

## Signature

```ts
verifyWebhookSignature(rawBody: string, header: string | undefined | null, secret: string, opts?: WebhookVerifyOptions): Promise<WebhookVerifyResult>
```

## Parameters

- `rawBody` (string)
- `header` (string | undefined | null)
- `secret` (string)
- `opts` (WebhookVerifyOptions, optional)

## Returns

`Promise<WebhookVerifyResult>`

Runs locally, with no request to the API.
