l.s.o.m.o.OpenIDRPSummarySet : class documentation

Part of lp.services.openid.model.openidrpsummary View In Hierarchy

Implements interfaces: lp.services.openid.interfaces.openidrpsummary.IOpenIDRPSummarySet

A set of OpenID RP Summaries.
Method getByIdentifier See IOpenIDRPSummarySet.
Method record See IOpenIDRPSummarySet.
Method _assert_identifier_is_not_reused Assert no other account in the summaries has the identifier.
def getByIdentifier(self, identifier, only_unknown_trust_roots=False):
See IOpenIDRPSummarySet.
def _assert_identifier_is_not_reused(self, account, identifier):
Assert no other account in the summaries has the identifier.
def record(self, account, trust_root, date_used=None):
See IOpenIDRPSummarySet.
Parametersdate_usedan optional datetime the login happened. The current datetime is used if date_used is None.
ReturnsAn IOpenIDRPSummary or None if the trust_root is Launchpad or one of its vhosts.
RaisesAssertionErrorIf the account is not ACTIVE.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.