Skip to content

VerifyFactsOptions

Defined in: facts.ts:483

optional apiBase?: string

Defined in: facts.ts:491

Where to fetch /.well-known/sparkletree-keys.json when keys is not given. Must be a SparkleTree host (or loopback): keys from any other host prove nothing about who signed.


optional fetchImpl?: (input, init?) => Promise<Response>

Defined in: facts.ts:494

Test seam; defaults to the platform fetch.

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>


optional keys?: readonly FactsPublicKey[]

Defined in: facts.ts:485

Keys to verify against. When given, nothing is fetched.


optional signal?: AbortSignal

Defined in: facts.ts:492


optional subtle?: SubtleCrypto

Defined in: facts.ts:496

Test seam; defaults to globalThis.crypto.subtle.