Skip to content
Myr

Merge pull request #3804 from ncoghlan/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Improve discoverability of OAuth 2 support

authored by Cory Benfield · committed by GitHub · parents ba7101e, 775d19e · Browse files · 1 file+17 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+17 added−1 removed

  • other:+17 added−1 removed

1 file+17 added−1 removed

modified:docs/user/authentication.rst+17 added-1 removed
58 unmodified lines
59OAuth 1 Authentication60----------------------6162A common form of authentication for several web APIs is OAuth. The ``requests-oauthlib``63library allows Requests users to easily make OAuth authenticated requests::63library allows Requests users to easily make OAuth 1 authenticated requests::6465 >>> import requests66 >>> from requests_oauthlib import OAuth167
7 unmodified lines
75For more information on how to OAuth flow works, please see the official `OAuth`_ website.76For examples and documentation on requests-oauthlib, please see the `requests_oauthlib`_77repository on GitHub7879OAuth 2 and OpenID Connect Authentication80-----------------------------------------8182The ``requests-oauthlib`` library also handles OAuth 2, the authentication mechanism83underpinning OpenID Connect. See the `requests-oauthlib OAuth2 documentation`_ for84details of the various OAuth 2 credential management flows:8586* `Web Application Flow`_87* `Mobile Application Flow`_88* `Legacy Application Flow`_89* `Backend Application Flow`_9091Other Authentication92--------------------9394Requests is designed to allow other forms of authentication to be easily and
38 unmodified lines
133``auth.py`` file.134135.. _OAuth: http://oauth.net/136.. _requests_oauthlib: https://github.com/requests/requests-oauthlib137.. _requests-oauthlib OAuth2 documentation: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html138.. _Web Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#web-application-flow139.. _Mobile Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#mobile-application-flow140.. _Legacy Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#legacy-application-flow141.. _Backend Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#backend-application-flow142.. _Kerberos: https://github.com/requests/requests-kerberos143.. _NTLM: https://github.com/requests/requests-ntlm144.. _Requests organization: https://github.com/requests