Skip to content

UCAN

Defined in: packages/core/src/ucan.ts:17

A UCAN token for Peerborne document authorization.

audience: string

Defined in: packages/core/src/ucan.ts:25

Audience’s public key (who receives this capability), Base64-encoded


capabilities: UCANCapability[]

Defined in: packages/core/src/ucan.ts:28

Capabilities being granted


expiration: number | null

Defined in: packages/core/src/ucan.ts:31

Expiration timestamp (seconds since epoch), or null for no expiration


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: number | null

Defined in: packages/core/src/ucan.ts:34

Not-before timestamp (seconds since epoch), or null


proofs: string[]

Defined in: packages/core/src/ucan.ts:40

Optional proof chain (parent UCANs that authorize this delegation)


signature: string

Defined in: packages/core/src/ucan.ts:43

Signature of the token payload by the issuer


version: "0.1.0"

Defined in: packages/core/src/ucan.ts:19

Version of the UCAN spec