c.l.i.a.IAuthToken(Interface) : interface documentation

Part of canonical.launchpad.interfaces.authtoken View In Hierarchy

Known subclasses: canonical.launchpad.interfaces.logintoken.ILoginToken

The object that stores one time tokens used for validating email addresses and other tasks that require verifying if an email address is valid such as password recovery, account merging and registration of new accounts. All LoginTokens must be deleted once they are "consumed".
Int id Undocumented
Datetime date_created Undocumented
Datetime date_consumed Undocumented
Choice tokentype Undocumented
Text token Undocumented
Int requester Undocumented
Int requester_account Undocumented
Text requesteremail Undocumented
TextLine email Undocumented
Text redirection_url Undocumented
Attribute title Title
PasswordField password Undocumented
Method consume Mark this token as consumed by setting date_consumed.
Method sendEmailValidationRequest Send an email message with a magic URL to validate self.email.
Method sendPasswordResetEmail Send an email message to the requester with a magic URL that allows
Method sendNewUserEmail Send an email message to the requester with a magic URL that allows
id =
Undocumented
date_created =
Undocumented
date_consumed =
Undocumented
tokentype =
Undocumented
token =
Undocumented
requester =
Undocumented
requester_account =
Undocumented
requesteremail =
Undocumented
email =
Undocumented
redirection_url =
Undocumented
title =
Title
password =
Undocumented
def consume():
Mark this token as consumed by setting date_consumed.

As a consequence of a token being consumed, all tokens requested by the same person and with the same requester email will also be marked as consumed.

def sendEmailValidationRequest():
Send an email message with a magic URL to validate self.email.
def sendPasswordResetEmail():
Send an email message to the requester with a magic URL that allows him to reset his password.
def sendNewUserEmail():
Send an email message to the requester with a magic URL that allows him to finish the Launchpad registration process.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.