l.s.o.b.JSONTokenMixin : class documentation

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

Known subclasses: lp.services.oauth.browser.OAuthAuthorizeTokenView, lp.services.oauth.browser.OAuthRequestTokenView

No class docstring
Method getJSONRepresentation Return a JSON representation of the authorization policy.
def getJSONRepresentation(self, permissions, token=None, secret=None):
Return a JSON representation of the authorization policy.

This includes a description of some subset of OAuthPermission, and may also include a description of a request token.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.