Classes for handling a HTTP request/response flow.
Interact with a user.
Display HTML or redirect the user agent to another page of your website where she can do something before being returned to the OAuth 2.0 server.
Authenticates a user and checks if she has authorized access.
A dict containing arbitrary data that will be passed to the current storage adapter and saved with auth code and access token.
oauth2.error.UserNotAuthenticated if the user could not be authenticated.
Defines how to display a confirmation page to the user.
The response passed in as a parameter. It can contain HTML or issue a redirect.
Checks if the user has denied access. This will lead to python-oauth2 returning a “acess_denied” response to the requesting client app.
|Parameters:||request – An instance of oauth2.web.Request.|
|Returns:||Return True if the user has denied access.|
Contains data of the current HTTP request.
Returns a param of a GET request identified by its name.
Returns a param of a POST request identified by its name.
Contains data returned to the requesting user agent.