c.l.w.s.AccountPrincipalMixin : class documentation

Part of canonical.launchpad.webapp.servers View In Hierarchy

Mixin for publication that works with person-less accounts.
Method getPrincipal Return the authenticated principal for this request.
def getPrincipal(self, request):
Return the authenticated principal for this request.

This is only necessary because, unlike in LaunchpadBrowserPublication, here we want principals representing personless accounts to be returned, so that personless accounts can use our OpenID server.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.