UCAN
Defined in: packages/core/src/ucan.ts:17
A UCAN token for Peerborne document authorization.
Properties
Section titled “Properties”audience
Section titled “audience”audience:
string
Defined in: packages/core/src/ucan.ts:25
Audience’s public key (who receives this capability), Base64-encoded
capabilities
Section titled “capabilities”capabilities:
UCANCapability[]
Defined in: packages/core/src/ucan.ts:28
Capabilities being granted
expiration
Section titled “expiration”expiration:
number|null
Defined in: packages/core/src/ucan.ts:31
Expiration timestamp (seconds since epoch), or null for no expiration
issuer
Section titled “issuer”issuer:
string
Defined in: packages/core/src/ucan.ts:22
Issuer’s public key (who is granting this capability), Base64-encoded
nonce:
string
Defined in: packages/core/src/ucan.ts:37
Nonce for uniqueness
notBefore
Section titled “notBefore”notBefore:
number|null
Defined in: packages/core/src/ucan.ts:34
Not-before timestamp (seconds since epoch), or null
proofs
Section titled “proofs”proofs:
string[]
Defined in: packages/core/src/ucan.ts:40
Optional proof chain (parent UCANs that authorize this delegation)
signature
Section titled “signature”signature:
string
Defined in: packages/core/src/ucan.ts:43
Signature of the token payload by the issuer
version
Section titled “version”version:
"0.1.0"
Defined in: packages/core/src/ucan.ts:19
Version of the UCAN spec