Skip to main content

Constructors

Constructor

new AuditApi(transport): AuditApi

Parameters

transport
Transport

Returns

AuditApi

Methods

verify()

verify(event, signature): Promise<boolean>
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>