l.s.v.i.a.IAuthToken(Interface) : interface documentation

Part of lp.services.verification.interfaces.authtoken View In Hierarchy

Known subclasses: lp.services.verification.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
Text requesteremail Undocumented
TextLine email Undocumented
Text redirection_url Undocumented
Attribute title Title
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.
id =
Undocumented
date_created =
Undocumented
date_consumed =
Undocumented
tokentype =
Undocumented
token =
Undocumented
requester =
Undocumented
requesteremail =
Undocumented
email =
Undocumented
redirection_url =
Undocumented
title =
Title
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.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.