Back to

Command example

Latest Go to latest
Published: Mar 4, 2020 | License: LGPL-3.0 | Module:


This example demonstrates three components:

- A target service, representing a web server that wishes to use macaroons for authorization. It delegates authorization to a third-party authorization server by adding third-party caveats to macaroons that it sends to the user.

- A client, representing a client wanting to make requests to the server.

- An authorization server.

In a real system, these three components would live on different machines; the client component could also be a web browser. (TODO: write javascript discharge gatherer)

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier