Part of lp.code.model.codeimportjob View In Hierarchy
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. |
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.