l.c.m.g.GitRepositoryMacaroonIssuer(MacaroonIssuerBase) : class documentation

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

No class docstring
Method __init__ Undocumented
Method checkIssuingContext See MacaroonIssuerBase.
Method issueMacaroon See IMacaroonIssuer.
Method checkVerificationContext See MacaroonIssuerBase.
Method verifyPrimaryCaveat See MacaroonIssuerBase.
Method verifyOpenIDIdentifier Verify an lp.principal.openid-identifier caveat.
Method verifyExpires Verify an lp.expires caveat.
Method _root_secret Undocumented

Inherited from MacaroonIssuerBase:

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

For issuing, the context is an IGitRepository.

def issueMacaroon(self, context, user=None, **kwargs):
See IMacaroonIssuer.
def checkVerificationContext(self, context, **kwargs):
See MacaroonIssuerBase.

For verification, the context is an IGitRepository.

def verifyPrimaryCaveat(self, verified, caveat_value, context, **kwargs):
See MacaroonIssuerBase.
def verifyOpenIDIdentifier(self, verified, caveat_value, context, user=None, **kwargs):
Verify an lp.principal.openid-identifier caveat.
def verifyExpires(self, verified, caveat_value, context, **kwargs):
Verify an lp.expires caveat.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.