Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalMacaroonAuthenticator ¶
type LocalMacaroonAuthenticator interface { authentication.RequestAuthenticator // CreateLocalLoginMacaroon creates a macaroon that may be // provided to a user as proof that they have logged in with // a valid username and password. This macaroon may then be // used to obtain a discharge macaroon so that the user can // log in without presenting their password for a set amount // of time. CreateLocalLoginMacaroon(context.Context, names.UserTag, bakery.Version) (*macaroon.Macaroon, error) }
LocalMacaroonAuthenticator extends Authenticator with a method of creating a local login macaroon. The authenticator is expected to honour the resulting macaroon.
Click to show internal directories.
Click to hide internal directories.