l.s.m.i.IMacaroonIssuer(IMacaroonIssuerPublic) : interface documentation

Part of lp.services.macaroons.interfaces View In Hierarchy

Interface to a policy for issuing and verifying macaroons.
Method issueMacaroon Issue a macaroon for context.

Inherited from IMacaroonIssuerPublic:

Attribute identifier An identifying name for this issuer.
Bool issuable_via_authserver Undocumented
Method verifyMacaroon Verify that macaroon is valid for context.
def issueMacaroon(context, **kwargs):
Issue a macaroon for context.
ParameterscontextThe context that the returned macaroon should relate to.
kwargsAdditional arguments that issuers may require to issue a macaroon.
ReturnsA macaroon.
RaisesBadMacaroonContextif the context is unsuitable.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.