Skip to content

Commit

Permalink
Fix links from draft25 - rfc move.
Browse files Browse the repository at this point in the history
  • Loading branch information
ib-lundgren committed May 30, 2013
1 parent 5e246a1 commit 6f1f4b6
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 30 deletions.
4 changes: 1 addition & 3 deletions docs/authcode.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Authorization Code Grant
------------------------

TODO: describe on a high level what the grant is and when it is useful

.. autoclass:: oauthlib.oauth2.draft25.grant_types.AuthorizationCodeGrant
.. autoclass:: oauthlib.oauth2.AuthorizationCodeGrant
:members:
2 changes: 1 addition & 1 deletion docs/backendapplicationclient.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Client Credentials Grant flow (BackendApplicationClient)
--------------------------------------------------------

.. autoclass:: oauthlib.oauth2.draft25.BackendApplicationClient
.. autoclass:: oauthlib.oauth2.BackendApplicationClient
:members:
2 changes: 1 addition & 1 deletion docs/baseclient.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Base Client (Client)
--------------------

.. autoclass:: oauthlib.oauth2.draft25.Client
.. autoclass:: oauthlib.oauth2.Client
:members:
4 changes: 1 addition & 3 deletions docs/credentials.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Client Credentials Grant
------------------------

TODO: describe on a high level what the grant is and when it is useful

.. autoclass:: oauthlib.oauth2.draft25.grant_types.ClientCredentialsGrant
.. autoclass:: oauthlib.oauth2.ClientCredentialsGrant
:members:
6 changes: 3 additions & 3 deletions docs/endpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Grant and the Client Credentials Grant.
client_redirect_uri = credentials.get('redirect_uri')
redirect(e.in_uri(client_redirect_uri))

.. autoclass:: oauthlib.oauth2.draft25.AuthorizationEndpoint
.. autoclass:: oauthlib.oauth2.AuthorizationEndpoint
:members:

--------------
Expand Down Expand Up @@ -219,7 +219,7 @@ tokens which unless you are certain you need them, are a bad idea.
from your_framework import http_response
http_response(body, status=status, headers=headers)

.. autoclass:: oauthlib.oauth2.draft25.TokenEndpoint
.. autoclass:: oauthlib.oauth2.TokenEndpoint
:members:

---------------------------
Expand Down Expand Up @@ -259,6 +259,6 @@ to the scopes associated with the resource in question.
else:
# return an http forbidden 403

.. autoclass:: oauthlib.oauth2.draft25.ResourceEndpoint
.. autoclass:: oauthlib.oauth2.ResourceEndpoint
:members:

4 changes: 1 addition & 3 deletions docs/implicit.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Implicit Grant
--------------

TODO: describe on a high level what the grant is and when it is useful

.. autoclass:: oauthlib.oauth2.draft25.grant_types.ImplicitGrant
.. autoclass:: oauthlib.oauth2.ImplicitGrant
:members:
2 changes: 1 addition & 1 deletion docs/legacyapplicationclient.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Resource Owner Password Credentials Grant flow (LegacyApplicationClient)
------------------------------------------------------------------------

.. autoclass:: oauthlib.oauth2.draft25.LegacyApplicationClient
.. autoclass:: oauthlib.oauth2.LegacyApplicationClient
:members:
2 changes: 1 addition & 1 deletion docs/mobileapplicationclient.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Implicit Grant flow (MobileApplicationClient)
---------------------------------------------

.. autoclass:: oauthlib.oauth2.draft25.MobileApplicationClient
.. autoclass:: oauthlib.oauth2.MobileApplicationClient
:members:
4 changes: 1 addition & 3 deletions docs/password.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Resource Owner Password Credentials Grant
-----------------------------------------

TODO: describe on a high level what the grant is and when it is useful

.. autoclass:: oauthlib.oauth2.draft25.grant_types.ResourceOwnerPasswordCredentialsGrant
.. autoclass:: oauthlib.oauth2.ResourceOwnerPasswordCredentialsGrant
:members:
8 changes: 4 additions & 4 deletions docs/preconfigured_servers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ If you prefer to construct tokens yourself you may pass a token generator::

server = WebApplicationServer(your_validator, token_generator=your_token_generator)

.. autoclass:: oauthlib.oauth2.draft25.WebApplicationServer
.. autoclass:: oauthlib.oauth2.WebApplicationServer
:members:

.. autoclass:: oauthlib.oauth2.draft25.MobileApplicationServer
.. autoclass:: oauthlib.oauth2.MobileApplicationServer
:members:

.. autoclass:: oauthlib.oauth2.draft25.LegacyApplicationServer
.. autoclass:: oauthlib.oauth2.LegacyApplicationServer
:members:

.. autoclass:: oauthlib.oauth2.draft25.BackendApplicationServer
.. autoclass:: oauthlib.oauth2.BackendApplicationServer
:members:
4 changes: 1 addition & 3 deletions docs/tokens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
OAuth 2 Tokens
==============

TODO(ib-lundgren): Outline the various use cases for each token type.

------------------------
Bearer Tokens (standard)
------------------------
Expand All @@ -15,7 +13,7 @@ Bearer tokens are the default setting with all configured endpoints. Generally
you will not need to ever construct a token yourself as the provided servers
will do so for you.

.. autoclass:: oauthlib.oauth2.draft25.tokens.BearerToken
.. autoclass:: oauthlib.oauth2.BearerToken
:members:

-----------
Expand Down
4 changes: 1 addition & 3 deletions docs/validator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
Request Validator
=================

TODO: high level overview of what it is and what to do

.. autoclass:: oauthlib.oauth2.draft25.grant_types.RequestValidator
.. autoclass:: oauthlib.oauth2.RequestValidator
:members:
2 changes: 1 addition & 1 deletion docs/webapplicationclient.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Authorization Code Grant flow (WebApplicationClient)
----------------------------------------------------

.. autoclass:: oauthlib.oauth2.draft25.WebApplicationClient
.. autoclass:: oauthlib.oauth2.WebApplicationClient
:members:

0 comments on commit 6f1f4b6

Please sign in to comment.