]> projects.mako.cc - twitter-api-cdsw/blob - oauthlib/oauth1/rfc5849/endpoints/pre_configured.py
Updated packages and code to python3. Won't work with python 2
[twitter-api-cdsw] / oauthlib / oauth1 / rfc5849 / endpoints / pre_configured.py
1 from __future__ import absolute_import, unicode_literals
2
3 from . import RequestTokenEndpoint, AuthorizationEndpoint
4 from . import AccessTokenEndpoint, ResourceEndpoint
5
6
7 class WebApplicationServer(RequestTokenEndpoint, AuthorizationEndpoint,
8                            AccessTokenEndpoint, ResourceEndpoint):
9
10     def __init__(self, request_validator):
11         RequestTokenEndpoint.__init__(self, request_validator)
12         AuthorizationEndpoint.__init__(self, request_validator)
13         AccessTokenEndpoint.__init__(self, request_validator)
14         ResourceEndpoint.__init__(self, request_validator)

Benjamin Mako Hill || Want to submit a patch?