Macaroons: cookies with contextual caveats for decentralized authorization in the cloud.
npm install @unional/macaroonThis is a TypeScript fork of macaroon.
A JavaScript implementation of
macaroons
compatible with the Go,
Python, and C
implementations. Including functionality to interact with
third party caveat dischargers implemented by the Go macaroon bakery.
It supports both version 1 and 2 macaroons in JSON and binary formats.
- @unional/macaroon
- macaroon
- Usage
- API
``ts
import { newMacaroon } from '@unional/macaroon'
const macaroon = newMacaroon({ ... })
``
Please check the api documentation.