l.s.o.browser : package documentation

Part of lp.services.oauth

Undocumented

From the __init__.py module:

Class JSONTokenMixin No class docstring; 1/1 methods documented
Class OAuthAccessTokenView Where consumers may exchange a request token for an access token.
Class OAuthAuthorizeTokenView Where users authorize consumers to access Launchpad on their behalf.
Class OAuthRequestTokenView Where consumers can ask for a request token.
Class TemporaryIntegrations Contains duration constants for temporary integrations.
Function create_oauth_permission_actions Make two Actions objects containing each possible OAuthPermission.
Function lookup_oauth_context Transform an OAuth context string into a context object.
Function token_exists_and_is_not_reviewed Undocumented
Function token_review_success The success callback for a button to approve a token.
def token_exists_and_is_not_reviewed(form, action):
Undocumented
def token_review_success(form, action, data):
The success callback for a button to approve a token.
def create_oauth_permission_actions():
Make two Actions objects containing each possible OAuthPermission.

The first Actions object contains every action supported by the OAuthAuthorizeTokenView. The second list contains a good default set of actions, omitting special actions like the DESKTOP_INTEGRATION ones.

def lookup_oauth_context(context):
Transform an OAuth context string into a context object.
ParameterscontextA string to turn into a context object.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.