Skip to main content

Interface: Capability<Can, With, Caveats>

types.Capability

Represents an Ability that a UCAN holder Can perform With some Resource.

Type parameters

NameTypeDescription
Canextends Ability = Abilitythe Ability (action/verb) the UCAN holder can perform
Withextends Resource = Resourcethe Resource (thing/noun) the UCAN holder can perform their Ability on / with
Caveatsextends unknown = unknown-

Properties

can

can: Can

Defined in

node_modules/@ipld/dag-ucan/dist/src/ucan.d.ts:202


nb

Optional nb: Caveats

Defined in

node_modules/@ipld/dag-ucan/dist/src/ucan.d.ts:203


with

with: With

Defined in

node_modules/@ipld/dag-ucan/dist/src/ucan.d.ts:201