l.s.m.s.MacaroonAuth(requests.auth.AuthBase) : class documentation

Part of lp.snappy.model.snapstoreclient View In Hierarchy

Attaches macaroon authentication to a given Request object.
Method __init__ Undocumented
Method discharge_macaroon_raw Undocumented
Method __call__ Undocumented
Method _logMacaroon Log relevant information from the authorising macaroons.
Method _makeAuthParam Undocumented
def __init__(self, root_macaroon_raw, unbound_discharge_macaroon_raw=None, logger=log):
Undocumented
def _logMacaroon(self, macaroon_name, macaroon_raw):
Log relevant information from the authorising macaroons.

This shouldn't be trusted for anything since we can't verify the macaroons here, but it's helpful when debugging.

def _makeAuthParam(self, key, value):
Undocumented
@property
def discharge_macaroon_raw(self):
Undocumented
def __call__(self, r):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.