Versions in this module Expand all Collapse all v3 v3.0.2 Jul 12, 2024 v3.0.1 Aug 25, 2022 Changes in this version + var ErrNoAgentLoginCookie = errgo.New("no agent-login cookie found") + var ErrNoAuthInfo = errgo.New("no bakery agent info found in environment") + func LoginCookie(req *http.Request) (username string, key *bakery.PublicKey, err error) + func SetInteraction(e *httpbakery.Error, loginURL string) + func SetUpAuth(client *httpbakery.Client, authInfo *AuthInfo) error + type Agent struct + URL string + Username string + type AuthInfo struct + Agents []Agent + Key *bakery.KeyPair + func AuthInfoFromEnvironment() (*AuthInfo, error) + type InteractionInfo struct + LoginURL string + type LegacyAgentLoginBody struct + PublicKey *bakery.PublicKey + Username string + type LegacyAgentResponse struct + AgentLogin bool Other modules containing this package github.com/go-macaroon-bakery/macaroon-bakery