c.l.b.o.OAuthRequestTokenView(LaunchpadView, JSONTokenMixin) : class documentation

Part of canonical.launchpad.browser.oauth View In Hierarchy

Where consumers can ask for a request token.
Method __call__ Create a request token and include its key/secret in the response.

Inherited from JSONTokenMixin:

Method getJSONRepresentation Return a JSON representation of the authorization policy.
def __call__(self):
Create a request token and include its key/secret in the response.

If the consumer key is empty or the signature doesn't match, respond with a 401 status. If the key is not empty but there's no consumer with it, we register a new consumer.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.