minca
ApiCoreInterfaces

Interface: DelegationPayload

Defined in: packages/core/src/identity/ucan.ts:26

What a delegation says

Properties

PropertyModifierTypeDescriptionDefined in
audreadonlystringWho it is made out to: a did:key, for a notepackages/core/src/identity/ucan.ts:30
cmdreadonlystringThe command it covers, and everything under it: / is every commandpackages/core/src/identity/ucan.ts:34
exp?readonlynumberUnix seconds: not valid at or after. A note has one; only live checks read it.packages/core/src/identity/ucan.ts:42
issreadonlystringWho signs it: a P-256 did:keypackages/core/src/identity/ucan.ts:28
meta?readonlyReadonly<Record<string, unknown>>Signed, and read by no peerpackages/core/src/identity/ucan.ts:40
nbf?readonlynumberUnix seconds: not valid before. A note has one; only live checks read it.packages/core/src/identity/ucan.ts:44
noncereadonlystringMakes each token uniquepackages/core/src/identity/ucan.ts:38
polreadonlyPolicyConditions on the arguments of what it is used for (identity/policy.ts)packages/core/src/identity/ucan.ts:36
subreadonlystringWhat it is about: the account (its DID, the issuer's own), or one space, space:<id>packages/core/src/identity/ucan.ts:32

On this page