Part of lp.services.oauth.interfaces View In Hierarchy
Known subclasses: lp.services.oauth.interfaces.IOAuthAccessToken, lp.services.oauth.interfaces.IOAuthRequestToken
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. |