Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.browser.ts>AccessControlScheme

Exploring Willow in the most efficient and sound programming language
Go to Latest
type alias AccessControlScheme
import { type AccessControlScheme } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";

Type Parameters

ReadCapability
Receiver
SyncSignature
ReceiverSecretKey
NamespaceId
SubspaceId
definition: { getReceiver: (cap: ReadCapability) => Receiver; getSecretKey: (receiver: Receiver) => ReceiverSecretKey; getGrantedArea: (cap: ReadCapability) => Area<SubspaceId>; getGrantedNamespace: (cap: ReadCapability) => NamespaceId; signatures: SignatureScheme<Receiver, ReceiverSecretKey, SyncSignature>; isValidCap: (cap: ReadCapability) => Promise<boolean>; encodings: { readCapability: ReadCapEncodingScheme<ReadCapability, NamespaceId, SubspaceId>; syncSignature: EncodingScheme<SyncSignature>; }; }