l.c.m.c.CodeImportJobMacaroonIssuer(MacaroonIssuerBase) : class documentation

Part of lp.code.model.codeimportjob View In Hierarchy

No class docstring
Method checkIssuingContext See MacaroonIssuerBase.
Method checkVerificationContext See MacaroonIssuerBase.
Method verifyPrimaryCaveat See MacaroonIssuerBase.
Method _root_secret Undocumented

Inherited from MacaroonIssuerBase:

Method identifier See IMacaroonIssuer.
Method issueMacaroon See IMacaroonIssuer.
Method verifyMacaroon See IMacaroonIssuer.
Method _primary_caveat_name The name of the primary context caveat issued by this issuer.
@property
def _root_secret(self):
Undocumented
def checkIssuingContext(self, context, **kwargs):
See MacaroonIssuerBase.
def checkVerificationContext(self, context, **kwargs):
See MacaroonIssuerBase.

For verification, the context may be an ICodeImportJob, in which case we check that the context job is currently running; or it may be an IGitRepository, in which case we check that the repository is an imported repository with an associated code import, and then perform the previously-stated check on its code import job.

def verifyPrimaryCaveat(self, verified, caveat_value, context, user=None, **kwargs):
See MacaroonIssuerBase.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.