l.s.o.i.IOAuthToken(Interface) : interface documentation

Part of lp.services.oauth.interfaces View In Hierarchy

Known subclasses: lp.services.oauth.interfaces.IOAuthAccessToken, lp.services.oauth.interfaces.IOAuthRequestToken

Base class for IOAuthRequestToken and IOAuthAccessToken.

This class contains the commonalities of the two token classes we actually care about and shall not be used on its own.

Object consumer The consumer which will access Launchpad on the user's behalf.
Object person The user on whose behalf the consumer is accessing.
TextLine key The key used to identify this token. It is included by the consumer in each request.
Choice product Undocumented
Choice projectgroup Undocumented
Choice sourcepackagename Undocumented
Choice distribution Undocumented
Attribute context FIXME
Bool is_expired A token may only be usable for a limited time, after which it will expire.
Method isSecretValid Check if a secret is valid for this token.
consumer =
The consumer which will access Launchpad on the user's behalf.
person =
The user on whose behalf the consumer is accessing.
key =
The key used to identify this token. It is included by the consumer in each request.
product =
Undocumented
projectgroup =
Undocumented
sourcepackagename =
Undocumented
distribution =
Undocumented
context =
FIXME
is_expired =
A token may only be usable for a limited time, after which it will expire.
def isSecretValid(secret):
Check if a secret is valid for this token.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.