ApiCoreInterfaces
Interface: DelegationPayload
Defined in: packages/core/src/identity/ucan.ts:26
What a delegation says
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
aud | readonly | string | Who it is made out to: a did:key, for a note | packages/core/src/identity/ucan.ts:30 |
cmd | readonly | string | The command it covers, and everything under it: / is every command | packages/core/src/identity/ucan.ts:34 |
exp? | readonly | number | Unix seconds: not valid at or after. A note has one; only live checks read it. | packages/core/src/identity/ucan.ts:42 |
iss | readonly | string | Who signs it: a P-256 did:key | packages/core/src/identity/ucan.ts:28 |
meta? | readonly | Readonly<Record<string, unknown>> | Signed, and read by no peer | packages/core/src/identity/ucan.ts:40 |
nbf? | readonly | number | Unix seconds: not valid before. A note has one; only live checks read it. | packages/core/src/identity/ucan.ts:44 |
nonce | readonly | string | Makes each token unique | packages/core/src/identity/ucan.ts:38 |
pol | readonly | Policy | Conditions on the arguments of what it is used for (identity/policy.ts) | packages/core/src/identity/ucan.ts:36 |
sub | readonly | string | What it is about: the account (its DID, the issuer's own), or one space, space:<id> | packages/core/src/identity/ucan.ts:32 |