github.com/juju/juju@v0.0.0-20240327075706-a90865de2538/core/macaroon/jar.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package macaroon 5 6 import ( 7 "github.com/go-macaroon-bakery/macaroon-bakery/v3/bakery/checkers" 8 ) 9 10 // MacaroonURI is use when register new Juju checkers with the bakery. 11 const MacaroonURI = "github.com/juju/juju" 12 13 // MacaroonNamespace is the namespace Juju uses for managing macaroons. 14 var MacaroonNamespace = checkers.NewNamespace(map[string]string{MacaroonURI: ""})