@identisure/client
    Preparing search index...

    Function verifyCallbackSignature

    • Verifies the X-Signature-SHA256 header of a callback request.

      Pass the raw request body exactly as received. Verify before parsing and never re-serialize the JSON.

      Parameters

      • body: string | Uint8Array<ArrayBufferLike>
      • signature: string
      • secret: string

      Returns Promise<boolean>