l.s.i.a.IArchiveAuthTokenView(Interface) : interface documentation

Part of lp.soyuz.interfaces.archiveauthtoken View In Hierarchy

Known subclasses: lp.soyuz.interfaces.archiveauthtoken.IArchiveAuthToken

Interface for Archive Authorization Tokens requiring launchpad.View.
Int id Undocumented
Attribute person_id db person value
Datetime date_created The timestamp when the token was created.
Datetime date_deactivated The timestamp when the token was de-activated.
TextLine token The access token to the archive for this person.
TextLine archive_url External archive URL including basic auth for this person
TextLine name The name in the case of a named authorization token, or None.
Method deactivate Deactivate the token by setting date_deactivated to UTC_NOW.
Method asDict Returns a dictionary where the value of token is the secret and
id =
Undocumented
person_id =
db person value
date_created =
The timestamp when the token was created.
date_deactivated =
The timestamp when the token was de-activated.
token =
The access token to the archive for this person.
archive_url =
External archive URL including basic auth for this person
name =
The name in the case of a named authorization token, or None.
def deactivate():
Deactivate the token by setting date_deactivated to UTC_NOW.
def asDict():
Returns a dictionary where the value of token is the secret and the value of archive_url is the externally-usable archive URL including basic auth.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.