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

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

A token used by a consumer to access protected resources in LP.

It's created automatically once a user logs in and grants access to a consumer. The consumer then exchanges an IOAuthRequestToken for it.

Choice permission The level of access given to the application acting on your behalf.
Datetime date_created The date some request token was exchanged for this token.
Datetime date_expires From this date onwards this token can not be used by the consumer to access protected resources.

Inherited from IOAuthToken:

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.
permission =
The level of access given to the application acting on your behalf.
date_created =
The date some request token was exchanged for this token.
date_expires =
From this date onwards this token can not be used by the consumer to access protected resources.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.