Part of lp.services.macaroons.interfaces View In Hierarchy
Known subclasses: lp.services.macaroons.interfaces.IMacaroonIssuer
Attribute | identifier | An identifying name for this issuer. |
Bool | issuable_via_authserver | Undocumented |
Method | verifyMacaroon | Verify that macaroon is valid for context . |
macaroon
is valid for context
.Parameters | macaroon | A Macaroon . |
context | The context to check. | |
require_context | If True (the default), fail verification if the context is None. If False and the context is None, only verify that the macaroon could be valid for some context. Use this in the authentication part of an authentication/authorisation API. | |
errors | If non-None, any verification error messages will be appended to this list. | |
kwargs | Additional arguments that issuers may require to verify a macaroon. | |
Returns | An IMacaroonVerificationResult if macaroon is valid for
context , otherwise None. |