l.s.a.x.AuthServerAPIView(LaunchpadXMLRPCView) : class documentation

Part of lp.services.authserver.xmlrpc View In Hierarchy

See IAuthServer.
Method getUserAndSSHKeys See IAuthServer.getUserAndSSHKeys.
Method issueMacaroon See IAuthServer.issueMacaroon.
Method verifyMacaroon See IAuthServer.verifyMacaroon.
Method _resolveContext Resolve a serialised context.
def getUserAndSSHKeys(self, name):
See IAuthServer.getUserAndSSHKeys.
def _resolveContext(self, context_type, context):
Resolve a serialised context.
Parameterscontext_typeA string identifying the type of context. Currently only 'LibraryFileAlias' and 'SnapBuild' are supported.
contextThe context as plain data (e.g. an ID).
ReturnsThe resolved context, or None.
def issueMacaroon(self, issuer_name, context_type, context):
See IAuthServer.issueMacaroon.
def verifyMacaroon(self, macaroon_raw, context_type, context):
See IAuthServer.verifyMacaroon.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.