Skip to main content
Defined in: typescript/src/client/AuditApi.ts:9

Constructors

Constructor

new AuditApi(transport): AuditApi
Defined in: typescript/src/client/AuditApi.ts:10

Parameters

transport
Transport

Returns

AuditApi

Methods

verify()

verify(event, signature): Promise<boolean>
Defined in: typescript/src/client/AuditApi.ts:19 Verifies a signed caller-authentication audit event’s signature. Maps to POST /audit/verify — takes the event and its stored signature directly, not a lookup by id. No caller authentication is required by this route, mirroring RefusalApi.verify()‘s independent third-party verifiability.

Parameters

event
AuditEvent
signature
Signature

Returns

Promise<boolean>