macaroon-bakery

module
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2021 License: LGPL-3.0

README

The macaroon bakery

This repository is a companion to http://github.com/go-macaroon . It holds higher level operations for building systems with macaroons.

For documentation, see:

Directories

Path Synopsis
The bakery package layers on top of the macaroon package, providing a transport and store-agnostic way of using macaroons to assert client capabilities.
The bakery package layers on top of the macaroon package, providing a transport and store-agnostic way of using macaroons to assert client capabilities.
checkers
The checkers package provides some standard first-party caveat checkers and some primitives for combining them.
The checkers package provides some standard first-party caveat checkers and some primitives for combining them.
dbrootkeystore
Package dbkeystore provides the underlying basis for a bakery.RootKeyStore that uses a database as a persistent store and provides flexible policies for root key storage lifetime.
Package dbkeystore provides the underlying basis for a bakery.RootKeyStore that uses a database as a persistent store and provides flexible policies for root key storage lifetime.
example
This example demonstrates three components: - A target service, representing a web server that wishes to use macaroons for authorization.
This example demonstrates three components: - A target service, representing a web server that wishes to use macaroons for authorization.
identchecker
Package identchecker wraps the functionality in the bakery package to add support for authentication via third party caveats.
Package identchecker wraps the functionality in the bakery package to add support for authentication via third party caveats.
mgorootkeystore
Package mgorootkeystore provides an implementation of bakery.RootKeyStore that uses MongoDB as a persistent store.
Package mgorootkeystore provides an implementation of bakery.RootKeyStore that uses MongoDB as a persistent store.
postgresrootkeystore
Package postgreskeystore provides an implementation of bakery.RootKeyStore that uses Postgres as a persistent store.
Package postgreskeystore provides an implementation of bakery.RootKeyStore that uses Postgres as a persistent store.
Package bakerytest provides test helper functions for the bakery.
Package bakerytest provides test helper functions for the bakery.
cmd
agent
Package agent enables non-interactive (agent) login using macaroons.
Package agent enables non-interactive (agent) login using macaroons.
form
Package form enables interactive login without using a web browser.
Package form enables interactive login without using a web browser.
internal
httputil
Package httputil holds utility functions related to net/http.
Package httputil holds utility functions related to net/http.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL