Back to godoc.org

Command example

v2.2.0
Latest Go to latest
Published: Mar 4, 2020 | License: LGPL-3.0 | Module: gopkg.in/macaroon-bakery.v2

Overview

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