Function: signedBindingText()
function signedBindingText(
statement: string,
address: string,
signature: string,
opts: VerifyDeviceRecordsOptions): Promise<string | null>;
Defined in: verify.ts:43 (opens in a new tab)
The text signature covers for address: the one of bindingSigTexts(statement)
it verifies over, or null for neither. A publisher writes this text as
event.content (OC Lock SPEC §3.3). A verifier that throws counts as no.
ParametersLink to this section
| Parameter | Type |
|---|---|
statement | string |
address | string |
signature | string |
opts | VerifyDeviceRecordsOptions |
ReturnsLink to this section
Promise<string | null>