build | Create a UCAN, User Controlled Authorization Networks, JWT. This JWT can be used for authorization. |
decode | Try to decode a UCAN. Will throw if it fails. |
encode | Encode a UCAN. |
encodeHeader | Encode the header of a UCAN. |
encodePayload | Encode the payload of a UCAN. |
isExpired | Check if a UCAN is expired. |
isSelfSigned | Check if a UCAN is self-signed. |
isValid | Check if a UCAN is valid. |
rootIssuer | Given a UCAN, lookup the root issuer. |
sign | Generate UCAN signature. |