Skip to content
Myr

Improve discoverability of OAuth 2 support

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

The previous summary gave the impression that requests-oauthlib only supports OAuth 1. This updates makes it clear that it also supports OAuth 2, and links directly to the use case specific authentication flow guides.

authored by Nick Coghlan · committed by GitHub · parent ba7101e · Browse files · 1 file+14 added−0 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+14 added−0 removed

  • other:+14 added−0 removed

1 file+14 added−0 removed

modified:docs/user/authentication.rst+14 added
74 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 Authentication80----------------------8182The ``requests-oauthlib`` library handles OAuth 2 in addition to OAuth 1. See their83documentation for details of the various OAuth 2 credential management flows:8485* `Web Application Flow`_86* `Mobile Application Flow`_87* `Legacy Application Flow`_88* `Backend Application Flow`_8990Other Authentication91--------------------9293Requests is designed to allow other forms of authentication to be easily and
38 unmodified lines
132``auth.py`` file.133134.. _OAuth: http://oauth.net/135.. _requests_oauthlib: https://github.com/requests/requests-oauthlib136.. _Web Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#web-application-flow137.. _Mobile Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#mobile-application-flow138.. _Legacy Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#legacy-application-flow139.. _Backend Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#backend-application-flow140.. _Kerberos: https://github.com/requests/requests-kerberos141.. _NTLM: https://github.com/requests/requests-ntlm142.. _Requests organization: https://github.com/requests