Part of lp.services.oauth.interfaces View In Hierarchy
Datetime | date_created | Undocumented |
Bool | disabled | Disabled consumers are not allowed to access any protected resources. |
TextLine | key | The unique key which identifies a consumer. It is included by the consumer in each request made. |
Attribute | is_integrated_desktop | This attribute is true if the consumer corresponds to a |
Attribute | integrated_desktop_name | If the consumer corresponds to a user account on a personal |
Attribute | integrated_desktop_type | If the consumer corresponds to a user account on a personal |
Method | isSecretValid | Check if a secret is valid for this consumer. |
Method | newRequestToken | Return a new IOAuthRequestToken and its random secret. |
Method | getAccessToken | Return the IOAuthAccessToken with the given key. |
Method | getRequestToken | Return the IOAuthRequestToken with the given key. |
IOAuthRequestToken
and its random secret.
The key and secret are random, while the other attributes of the token are supposed to be set whenever the user logs into Launchpad and grants (or not) access to this consumer.
IOAuthAccessToken
with the given key.
If the token with the given key does not exist or is associated with another consumer, return None.
IOAuthRequestToken
with the given key.
If the token with the given key does not exist or is associated with another consumer, return None.