]> projects.mako.cc - twitter-api-cdsw-solutions/blob - oauthlib/oauth1/rfc5849/endpoints/pre_configured.py
Merge pull request #3 from guyrt/master
[twitter-api-cdsw-solutions] / 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?