__init__.py 738 B

12345678910111213141516171819
  1. # -*- coding: utf-8 -*-
  2. """
  3. oauthlib.oauth1
  4. ~~~~~~~~~~~~~~
  5. This module is a wrapper for the most recent implementation of OAuth 1.0 Client
  6. and Server classes.
  7. """
  8. from __future__ import absolute_import, unicode_literals
  9. from .rfc5849 import Client
  10. from .rfc5849 import SIGNATURE_HMAC, SIGNATURE_RSA, SIGNATURE_PLAINTEXT
  11. from .rfc5849 import SIGNATURE_TYPE_AUTH_HEADER, SIGNATURE_TYPE_QUERY
  12. from .rfc5849 import SIGNATURE_TYPE_BODY
  13. from .rfc5849.request_validator import RequestValidator
  14. from .rfc5849.endpoints import RequestTokenEndpoint, AuthorizationEndpoint
  15. from .rfc5849.endpoints import AccessTokenEndpoint, ResourceEndpoint
  16. from .rfc5849.endpoints import SignatureOnlyEndpoint, WebApplicationServer
  17. from .rfc5849.errors import *