VerifyFactsOptions
Defined in: facts.ts:483
Properties
Section titled “Properties”apiBase?
Section titled “apiBase?”
optionalapiBase?: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.
fetchImpl?
Section titled “fetchImpl?”
optionalfetchImpl?: (input,init?) =>Promise<Response>
Defined in: facts.ts:494
Test seam; defaults to the platform fetch.
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
optionalkeys?: readonlyFactsPublicKey[]
Defined in: facts.ts:485
Keys to verify against. When given, nothing is fetched.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: facts.ts:492
subtle?
Section titled “subtle?”
optionalsubtle?:SubtleCrypto
Defined in: facts.ts:496
Test seam; defaults to globalThis.crypto.subtle.