Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ucan

§Functions

ucan.build

Create a UCAN, User Controlled Authorization Networks, JWT. This JWT can be used for authorization.

ucan.decode

Try to decode a UCAN. Will throw if it fails.

ucan.encode

Encode a UCAN.

ucan.encodeHeader

Encode the header of a UCAN.

ucan.encodePayload

Encode the payload of a UCAN.

ucan.isExpired

Check if a UCAN is expired.

ucan.isSelfSigned

Check if a UCAN is self-signed.

ucan.isValid

Check if a UCAN is valid.

ucan.rootIssuer

Given a UCAN, lookup the root issuer.

ucan.sign

Generate UCAN signature.

§Type Aliases

ucan.Fact
ucan.Potency
ucan.Resource
ucan.SessionKey
ucan.Ucan
ucan.UcanHeader
ucan.UcanPayload