This commit is contained in:
Norbert
2024-11-18 08:59:34 +01:00
parent 47707d4302
commit d6e9cb72ed
1278 changed files with 200343 additions and 0 deletions

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,27 @@
Copyright (c) 2011 Idan Gazit and contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of this project nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,167 @@
Metadata-Version: 2.1
Name: oauthlib
Version: 2.1.0
Summary: A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Home-page: https://github.com/oauthlib/oauthlib
Author: Idan Gazit
Author-email: idan@gazit.me
Maintainer: Ib Lundgren
Maintainer-email: ib.lundgren@gmail.com
License: BSD
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: test
Provides-Extra: signals
Provides-Extra: signedtoken
Provides-Extra: rsa
Provides-Extra: rsa
Requires-Dist: cryptography; extra == 'rsa'
Provides-Extra: signals
Requires-Dist: blinker; extra == 'signals'
Provides-Extra: signedtoken
Requires-Dist: cryptography; extra == 'signedtoken'
Requires-Dist: pyjwt (>=1.0.0); extra == 'signedtoken'
Provides-Extra: test
Requires-Dist: nose; extra == 'test'
Requires-Dist: unittest2; extra == 'test'
Requires-Dist: cryptography; extra == 'test'
Requires-Dist: mock; extra == 'test'
Requires-Dist: pyjwt (>=1.0.0); extra == 'test'
Requires-Dist: blinker; extra == 'test'
OAuthLib
========
*A generic, spec-compliant, thorough implementation of the OAuth request-signing
logic for Python 2.7 and 3.4+.*
.. image:: https://travis-ci.org/oauthlib/oauthlib.svg?branch=master
:target: https://travis-ci.org/oauthlib/oauthlib
:alt: Travis
.. image:: https://coveralls.io/repos/oauthlib/oauthlib/badge.svg?branch=master
:target: https://coveralls.io/r/oauthlib/oauthlib
:alt: Coveralls
.. image:: https://img.shields.io/pypi/pyversions/oauthlib.svg
:target: https://pypi.python.org/pypi/oauthlib
:alt: Download from PyPi
.. image:: https://img.shields.io/pypi/l/oauthlib.svg
:target: https://pypi.python.org/pypi/oauthlib
:alt: License
.. image:: https://img.shields.io/readthedocs/oauthlib.svg
:target: https://oauthlib.readthedocs.io/en/latest/index.html
:alt: Read the Docs
.. image:: https://badges.gitter.im/oauthlib/oauthlib.svg
:target: https://gitter.im/oauthlib/Lobby
:alt: Chat on Gitter
OAuth often seems complicated and difficult-to-implement. There are several
prominent libraries for handling OAuth requests, but they all suffer from one or
both of the following:
1. They predate the `OAuth 1.0 spec`_, AKA RFC 5849.
2. They predate the `OAuth 2.0 spec`_, AKA RFC 6749.
3. They assume the usage of a specific HTTP request library.
.. _`OAuth 1.0 spec`: https://tools.ietf.org/html/rfc5849
.. _`OAuth 2.0 spec`: https://tools.ietf.org/html/rfc6749
OAuthLib is a generic utility which implements the logic of OAuth without
assuming a specific HTTP request object or web framework. Use it to graft OAuth
client support onto your favorite HTTP library, or provide support onto your
favourite web framework. If you're a maintainer of such a library, write a thin
veneer on top of OAuthLib and get OAuth support for very little effort.
Documentation
--------------
Full documentation is available on `Read the Docs`_. All contributions are very
welcome! The documentation is still quite sparse, please open an issue for what
you'd like to know, or discuss it in our `Gitter community`_, or even better, send a
pull request!
.. _`Gitter community`: https://gitter.im/oauthlib/Lobby
.. _`Read the Docs`: https://oauthlib.readthedocs.io/en/latest/index.html
Interested in making OAuth requests?
------------------------------------
Then you might be more interested in using `requests`_ which has OAuthLib
powered OAuth support provided by the `requests-oauthlib`_ library.
.. _`requests`: https://github.com/requests/requests
.. _`requests-oauthlib`: https://github.com/requests/requests-oauthlib
Which web frameworks are supported?
-----------------------------------
The following packages provide OAuth support using OAuthLib.
- For Django there is `django-oauth-toolkit`_, which includes `Django REST framework`_ support.
- For Flask there is `flask-oauthlib`_ and `Flask-Dance`_.
- For Pyramid there is `pyramid-oauthlib`_.
- For Bottle there is `bottle-oauthlib`_.
If you have written an OAuthLib package that supports your favorite framework,
please open a Pull Request, updating the documentation.
.. _`django-oauth-toolkit`: https://github.com/evonove/django-oauth-toolkit
.. _`flask-oauthlib`: https://github.com/lepture/flask-oauthlib
.. _`Django REST framework`: http://django-rest-framework.org
.. _`Flask-Dance`: https://github.com/singingwolfboy/flask-dance
.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib
.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib
Using OAuthLib? Please get in touch!
------------------------------------
Patching OAuth support onto an http request framework? Creating an OAuth
provider extension for a web framework? Simply using OAuthLib to Get Things Done
or to learn?
No matter which we'd love to hear from you in our `Gitter community`_ or if you have
anything in particular you would like to have, change or comment on don't
hesitate for a second to send a pull request or open an issue. We might be quite
busy and therefore slow to reply but we love feedback!
Chances are you have run into something annoying that you wish there was
documentation for, if you wish to gain eternal fame and glory, and a drink if we
have the pleasure to run into eachother, please send a docs pull request =)
.. _`Gitter community`: https://gitter.im/oauthlib/Lobby
License
-------
OAuthLib is yours to use and abuse according to the terms of the BSD license.
Check the LICENSE file for full details.
Changelog
---------
*OAuthLib is in active development, with the core of both OAuth 1 and 2
completed, for providers as well as clients.* See `supported features`_ for
details.
.. _`supported features`: https://oauthlib.readthedocs.io/en/latest/feature_matrix.html
For a full changelog see ``CHANGELOG.rst``.

View File

@@ -0,0 +1,102 @@
oauthlib/__init__.py,sha256=FRYrT5p6QoskGGBc1xuzi6xw8mxJSjZxUbRremTMVtQ,516
oauthlib/common.py,sha256=Of_YKjXlEUCoV-Ghxpz6-0LT74beOPn88xcAnTrugBI,14705
oauthlib/signals.py,sha256=WdwbOYf_bsZAIWAfxxEiKixqm9a56rCkjAmgyw1JQiE,1521
oauthlib/uri_validate.py,sha256=PpEpmrRxA1w-H3oicm0vqsg9dM9hjGRx1wxh96Xnl7k,7611
oauthlib/oauth1/__init__.py,sha256=DHwYb0S5eNIqm6VXql7SaoFywtW6d9MgtGZAzZyOTk4,842
oauthlib/oauth1/rfc5849/__init__.py,sha256=0Gtt8q6cdLIh7Tuk96PRy46qEwhmVFoNpRdWWl_QhtE,15247
oauthlib/oauth1/rfc5849/errors.py,sha256=9BqHAtzoVUQ7v0SBkT3COFt2JuwMZlOOEXtL0pv7d4I,2543
oauthlib/oauth1/rfc5849/parameters.py,sha256=tZDwYfs0ZThyFw20yhskgoMvUQ3FGAHk3dWG4owEX5U,4961
oauthlib/oauth1/rfc5849/request_validator.py,sha256=41vU3L8typle2pcRuF1AspgJRBEfk4NvFMbgduBRLgc,30462
oauthlib/oauth1/rfc5849/signature.py,sha256=Tb4HBi-0-SJjOSoyVpVO_ppKrAsZ-Uek15rq4i7g40c,23617
oauthlib/oauth1/rfc5849/utils.py,sha256=xQRvb2qnMX_mEKFYDQiDY-mQeguUk9Wf3ezDGAULBTs,2782
oauthlib/oauth1/rfc5849/endpoints/__init__.py,sha256=d1ZrqNd-gGcMFKILLIE3yVoQVR-bx9AQaj0OqPrX-qc,352
oauthlib/oauth1/rfc5849/endpoints/access_token.py,sha256=CZUCG45c5pPVNM7X9jTFYfBgUez4IplLmabKFLITUTU,9345
oauthlib/oauth1/rfc5849/endpoints/authorization.py,sha256=MaSkwWYuClN3JH-7DNsKJFwDUT3HbJhPvKynkNQ6J2o,6823
oauthlib/oauth1/rfc5849/endpoints/base.py,sha256=5t4h5oHydbRNVwHe5akXr-UEtzmtKBkFEDk5yNCIIp0,10355
oauthlib/oauth1/rfc5849/endpoints/pre_configured.py,sha256=ttawzUkqmjvu1OlCw-fMDEFJNJYXk0OAtZYPBQDZc4E,605
oauthlib/oauth1/rfc5849/endpoints/request_token.py,sha256=xZZAz4_AS_OcT84-OxA8j6X77Agu7Ur-uy0NEC7_IWA,9285
oauthlib/oauth1/rfc5849/endpoints/resource.py,sha256=YIYfNO5bgXXF758qMskXY-E-CbkZxbdS-J6IbGiOYGc,7434
oauthlib/oauth1/rfc5849/endpoints/signature_only.py,sha256=1gVLRB6MFpa-hTlzaR0wfAKSpD53t-7sGww_xwTpV4o,3385
oauthlib/oauth2/__init__.py,sha256=h-aY5iK2_DiM4M0yOTyCfCqQKxrK4WASGA19b0B6w6k,2141
oauthlib/oauth2/rfc6749/__init__.py,sha256=ByRccoeZxOuCI5LVDLkzJKzyrzSYyqX6yNbAJrRWSnQ,1728
oauthlib/oauth2/rfc6749/errors.py,sha256=ps9pEcHNT0vkquAGyJpUOesYyixLIH6EMvnWSCH6pCc,12866
oauthlib/oauth2/rfc6749/parameters.py,sha256=vti9Dd_xHVg7ZrmzfuhEHGWJrFGYOCSmWKPHa0XwouQ,15929
oauthlib/oauth2/rfc6749/request_validator.py,sha256=fTGi7AeH2_84SAN30N83WhkkdOPdyi3Pgt7SY5V-KhM,24587
oauthlib/oauth2/rfc6749/tokens.py,sha256=qNIhqAJIXDHTI5xX3IM-CiZ4fUXmgReGEBvUgjJnpnk,9805
oauthlib/oauth2/rfc6749/utils.py,sha256=TbyPVOw_hfBrf3A82HI94bEpHb0HA5At_uMg4neskEo,2494
oauthlib/oauth2/rfc6749/clients/__init__.py,sha256=MBwNpK8to49QlYYMxhHooU4UnPG6hsKpAVwoCm-ufE4,562
oauthlib/oauth2/rfc6749/clients/backend_application.py,sha256=lxloTG9PEfD8m9NdvxeWrAtMSA4soHOd2xASo5Cb4As,2477
oauthlib/oauth2/rfc6749/clients/base.py,sha256=BujIxA0YU0i9w8OKaTu7G_xnrmhuTF1MV_IW68x9ogk,20833
oauthlib/oauth2/rfc6749/clients/legacy_application.py,sha256=S0WoSiACk8gdiJKR9qZMQxlnHWI3MmnsbM79YpGIJtM,3316
oauthlib/oauth2/rfc6749/clients/mobile_application.py,sha256=fuj2ozuMr4mEddzcxuxVV8OIK2_YymgLnpGu18ZILBU,8781
oauthlib/oauth2/rfc6749/clients/service_application.py,sha256=ojsYVvuaf46_t3v_R0-w8ryyHZIz4B85de7h2UKfBdk,6984
oauthlib/oauth2/rfc6749/clients/web_application.py,sha256=8T73IkN-5xV4TIiKsQWTfYB_gYP6LIKWIEMHYWlJtNw,9212
oauthlib/oauth2/rfc6749/endpoints/__init__.py,sha256=2cFcinSijL_H9ToMCwc8aYTYQhpMnNvUtXY8LNGMYZ0,648
oauthlib/oauth2/rfc6749/endpoints/authorization.py,sha256=5Rc-2QMuBeDowq2QJQD9PaYhf_meUoJlL9OvmNf-Dt8,4666
oauthlib/oauth2/rfc6749/endpoints/base.py,sha256=L2QooEesOsDIlMvR2jPStG31p1_bu9qX0Ab3VCQw_So,1733
oauthlib/oauth2/rfc6749/endpoints/pre_configured.py,sha256=OccCP8eMhrT6ReyKQs8PHxH1bDjirfyj8wWKM-tn7MA,12327
oauthlib/oauth2/rfc6749/endpoints/resource.py,sha256=4Br4ZvzTc4mhVW9Bsw_gHQNA-BwAyr0_-r6GotaCifA,3316
oauthlib/oauth2/rfc6749/endpoints/revocation.py,sha256=1nCTzF4nIP_riZCj_ECySPN1hXaQxIwM2bFofAFVNxE,5802
oauthlib/oauth2/rfc6749/endpoints/token.py,sha256=XozL_QXZRbGg353Bd3Qs2j9Jt0iYU0NRUrXBrhWTex4,4517
oauthlib/oauth2/rfc6749/grant_types/__init__.py,sha256=Y4ejhY509WtGNwi6S2_cCiY_xdEIAxnvsQGDMdT1XCc,728
oauthlib/oauth2/rfc6749/grant_types/authorization_code.py,sha256=QoSF-XCqfShT4Hol08dz0qY2ltFjbz1jxKkLxCoYLQA,21597
oauthlib/oauth2/rfc6749/grant_types/base.py,sha256=uc1-nu-V6RvCvCQEMvrEj_exo00sxvuMCoNrYjdXBtg,7576
oauthlib/oauth2/rfc6749/grant_types/client_credentials.py,sha256=qOHns6SaCVIePsDHMdixylYupIqwqw-67E8MSqJAnYE,4951
oauthlib/oauth2/rfc6749/grant_types/implicit.py,sha256=Ypjgk-saAtEzviU68DRqxBNIo2vdotE3dHMNErILpX8,17639
oauthlib/oauth2/rfc6749/grant_types/openid_connect.py,sha256=GgcuURNoDYKihZ0xOidM8cciqwo9L6Alv21oAlxYBxY,18890
oauthlib/oauth2/rfc6749/grant_types/refresh_token.py,sha256=jpeZliXaE03qziO2sWIet9XX-l-q9t0rbM2G1u1Ujhk,5649
oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py,sha256=T9gNakVJEBfXo4ndiCC74VCNbhIWFiu8YScD9tJ1P6A,8418
oauthlib-2.1.0.dist-info/LICENSE.txt,sha256=nhrocl9YFXONrbbLsJ9FBFPZTgfHte-u6GT1RqYgmpU,1534
oauthlib-2.1.0.dist-info/METADATA,sha256=49wqCxm7pm0jfLlt1eI7HOu33Ec1Vz1OJkLpzw5B4Nw,6693
oauthlib-2.1.0.dist-info/RECORD,,
oauthlib-2.1.0.dist-info/WHEEL,sha256=gduuPyBvFJQSQ0zdyxF7k0zynDXbIbvg5ZBHoXum5uk,110
oauthlib-2.1.0.dist-info/top_level.txt,sha256=gz2py0fFs1AhG1O7KpHPcIXOgXOwdIiCaSnmLkiR12Q,9
oauthlib-2.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
oauthlib/oauth2/rfc6749/clients/__pycache__/mobile_application.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/clients/__pycache__/legacy_application.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/clients/__pycache__/web_application.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/clients/__pycache__/base.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/clients/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/clients/__pycache__/service_application.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/clients/__pycache__/backend_application.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/authorization.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/resource.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/token.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/base.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/revocation.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/endpoints/__pycache__/pre_configured.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/__pycache__/tokens.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/__pycache__/request_validator.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/__pycache__/parameters.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/__pycache__/errors.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/__pycache__/utils.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/refresh_token.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/authorization_code.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/client_credentials.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/resource_owner_password_credentials.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/base.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/implicit.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/openid_connect.cpython-36.pyc,,
oauthlib/oauth2/rfc6749/grant_types/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth2/__pycache__/__init__.cpython-36.pyc,,
oauthlib/__pycache__/signals.cpython-36.pyc,,
oauthlib/__pycache__/common.cpython-36.pyc,,
oauthlib/__pycache__/uri_validate.cpython-36.pyc,,
oauthlib/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/authorization.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/signature_only.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/resource.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/request_token.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/base.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/pre_configured.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/endpoints/__pycache__/access_token.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/__pycache__/request_validator.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/__pycache__/parameters.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/__pycache__/errors.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/__pycache__/utils.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/__pycache__/__init__.cpython-36.pyc,,
oauthlib/oauth1/rfc5849/__pycache__/signature.cpython-36.pyc,,
oauthlib/oauth1/__pycache__/__init__.cpython-36.pyc,,

View File

@@ -0,0 +1,6 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.31.1)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any

View File

@@ -0,0 +1 @@
oauthlib