c.l.d.l.LoginToken(SQLBase) : class documentation

Part of canonical.launchpad.database.logintoken View In Hierarchy

Implements interfaces: canonical.launchpad.interfaces.logintoken.ILoginToken

No class docstring
Method requester_account See ILoginToken.
Method consume See ILoginToken.
Method sendEmailValidationRequest See ILoginToken.
Method sendGPGValidationRequest See ILoginToken.
Method sendProfileCreatedEmail See ILoginToken.
Method sendMergeRequestEmail See ILoginToken.
Method sendTeamEmailAddressValidationEmail See ILoginToken.
Method sendClaimProfileEmail See ILoginToken.
Method sendClaimTeamEmail See ILoginToken.
Method validation_phrase The phrase used to validate sign-only GPG keys
Method activateGPGKey See ILoginToken.
Method createEmailAddresses Create EmailAddresses for the GPG UIDs that do not exist yet.
Method _send_email Send an email to this token's email address.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method __repr__ Undocumented
Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_flushed__ Invalidate the web service cache.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
@property
def requester_account(self):
See ILoginToken.
def consume(self):
See ILoginToken.
def _send_email(self, from_name, subject, message, headers=None):
Send an email to this token's email address.
def sendEmailValidationRequest(self):
See ILoginToken.
def sendGPGValidationRequest(self, key):
See ILoginToken.
def sendProfileCreatedEmail(self, profile, comment):
See ILoginToken.
def sendMergeRequestEmail(self):
See ILoginToken.
def sendTeamEmailAddressValidationEmail(self, user):
See ILoginToken.
def sendClaimProfileEmail(self):
See ILoginToken.
def sendClaimTeamEmail(self):
See ILoginToken.
@property
def validation_phrase(self):
The phrase used to validate sign-only GPG keys
def activateGPGKey(self, key, can_encrypt):
See ILoginToken.
def createEmailAddresses(self, uids):
Create EmailAddresses for the GPG UIDs that do not exist yet.

For each of the given UIDs, check if it is already registered and, if not, register it.

Return a tuple containing the list of newly created emails (as strings) and the emails that exist and are already assigned to another person (also as strings).

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