diff options
| author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2018-01-02 17:00:03 +0100 |
|---|---|---|
| committer | Omer Katz <omer.drow@gmail.com> | 2018-01-02 18:00:03 +0200 |
| commit | 66d7296229122536163beabcc9552a0d8debbf60 (patch) | |
| tree | c767e3a7b300aa695feacae807c757a5e51851cc /docs | |
| parent | cfb82feb03fcd60b3b66ac09bf1b478cd5f11b7d (diff) | |
| download | oauthlib-66d7296229122536163beabcc9552a0d8debbf60.tar.gz | |
Added bottle-oauthlib (#509)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/faq.rst | 17 | ||||
| -rw-r--r-- | docs/oauth2/endpoints/endpoints.rst | 2 | ||||
| -rw-r--r-- | docs/oauth2/server.rst | 8 |
3 files changed, 20 insertions, 7 deletions
diff --git a/docs/faq.rst b/docs/faq.rst index 4d896f5..0c61af9 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -65,10 +65,17 @@ How do I use OAuthLib with Google, Twitter and other providers? How do I use OAuthlib as a provider with Django, Flask and other web frameworks? -------------------------------------------------------------------------------- - Providers using Django should seek out `django-oauth-toolkit`_ - and those using Flask `flask-oauthlib`_. For other frameworks, - please get in touch by opening a `GitHub issue`_, on `G+`_ or - on IRC #oauthlib irc.freenode.net. + Providers can be implemented in any web frameworks. However, some of + them have ready-to-use libraries to help integration: + - Django `django-oauth-toolkit`_ + - Flask `flask-oauthlib`_ + - Pyramid `pyramid-oauthlib`_ + - Bottle `bottle-oauthlib`_ + + For other frameworks, please get in touch by opening a `GitHub issue`_, on `G+`_ or + on IRC #oauthlib irc.freenode.net. If you have written an OAuthLib package that + supports your favorite framework, please open a Pull Request to update the docs. + What is the difference between authentication and authorization? ---------------------------------------------------------------- @@ -91,6 +98,8 @@ Some argue OAuth 2 is worse than 1, is that true? .. _`requests-oauthlib`: https://github.com/requests/requests-oauthlib .. _`django-oauth-toolkit`: https://github.com/evonove/django-oauth-toolkit .. _`flask-oauthlib`: https://github.com/lepture/flask-oauthlib +.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib +.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib .. _`GitHub issue`: https://github.com/idan/oauthlib/issues/new .. _`G+`: https://plus.google.com/communities/101889017375384052571 .. _`difference`: http://www.cyberciti.biz/faq/authentication-vs-authorization/ diff --git a/docs/oauth2/endpoints/endpoints.rst b/docs/oauth2/endpoints/endpoints.rst index 0e70798..9bd1c4e 100644 --- a/docs/oauth2/endpoints/endpoints.rst +++ b/docs/oauth2/endpoints/endpoints.rst @@ -23,7 +23,7 @@ handles user authorization, the token endpoint which provides tokens and the resource endpoint which provides access to protected resources. It is to the endpoints you will feed requests and get back an almost complete response. This process is simplified for you using a decorator such as the django one described -later. +later (but it's applicable to all other web frameworks librairies). The main purpose of the endpoint in OAuthLib is to figure out which grant type or token to dispatch the request to. diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst index 9d6b502..9900e36 100644 --- a/docs/oauth2/server.rst +++ b/docs/oauth2/server.rst @@ -6,8 +6,10 @@ OAuthLib is a dependency free library that may be used with any web framework. That said, there are framework specific helper libraries to make your life easier. -- For Django there is `django-oauth-toolkit`_. -- For Flask there is `flask-oauthlib`_. +- Django `django-oauth-toolkit`_ +- Flask `flask-oauthlib`_ +- Pyramid `pyramid-oauthlib`_ +- Bottle `bottle-oauthlib`_ If there is no support for your favourite framework and you are interested in providing it then you have come to the right place. OAuthLib can handle @@ -17,6 +19,8 @@ as well as provide an interface for a backend to store tokens, clients, etc. .. _`django-oauth-toolkit`: https://github.com/evonove/django-oauth-toolkit .. _`flask-oauthlib`: https://github.com/lepture/flask-oauthlib +.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib +.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib .. contents:: Tutorial Contents :depth: 3 |
