summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIb Lundgren <ib.lundgren@gmail.com>2013-05-30 12:56:02 +0100
committerIb Lundgren <ib.lundgren@gmail.com>2013-05-30 12:56:02 +0100
commit6f1f4b660f8fcfbdc21a33c8df51485c2bb5725a (patch)
treeed5d9d67d686c0519440844a933fb9d18c948cac
parent5e246a16924161fdda538973e4a9645f39f0cfcf (diff)
downloadoauthlib-6f1f4b660f8fcfbdc21a33c8df51485c2bb5725a.tar.gz
Fix links from draft25 - rfc move.
-rw-r--r--docs/authcode.rst4
-rw-r--r--docs/backendapplicationclient.rst2
-rw-r--r--docs/baseclient.rst2
-rw-r--r--docs/credentials.rst4
-rw-r--r--docs/endpoints.rst6
-rw-r--r--docs/implicit.rst4
-rw-r--r--docs/legacyapplicationclient.rst2
-rw-r--r--docs/mobileapplicationclient.rst2
-rw-r--r--docs/password.rst4
-rw-r--r--docs/preconfigured_servers.rst8
-rw-r--r--docs/tokens.rst4
-rw-r--r--docs/validator.rst4
-rw-r--r--docs/webapplicationclient.rst2
13 files changed, 18 insertions, 30 deletions
diff --git a/docs/authcode.rst b/docs/authcode.rst
index 35f1dad..c83e5a9 100644
--- a/docs/authcode.rst
+++ b/docs/authcode.rst
@@ -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:
diff --git a/docs/backendapplicationclient.rst b/docs/backendapplicationclient.rst
index d4c92c0..e0f4774 100644
--- a/docs/backendapplicationclient.rst
+++ b/docs/backendapplicationclient.rst
@@ -1,5 +1,5 @@
Client Credentials Grant flow (BackendApplicationClient)
--------------------------------------------------------
-.. autoclass:: oauthlib.oauth2.draft25.BackendApplicationClient
+.. autoclass:: oauthlib.oauth2.BackendApplicationClient
:members:
diff --git a/docs/baseclient.rst b/docs/baseclient.rst
index 96bd232..122af7f 100644
--- a/docs/baseclient.rst
+++ b/docs/baseclient.rst
@@ -1,5 +1,5 @@
Base Client (Client)
--------------------
-.. autoclass:: oauthlib.oauth2.draft25.Client
+.. autoclass:: oauthlib.oauth2.Client
:members:
diff --git a/docs/credentials.rst b/docs/credentials.rst
index 33bcb7b..790bce8 100644
--- a/docs/credentials.rst
+++ b/docs/credentials.rst
@@ -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:
diff --git a/docs/endpoints.rst b/docs/endpoints.rst
index 454bcbc..f6be2f1 100644
--- a/docs/endpoints.rst
+++ b/docs/endpoints.rst
@@ -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:
--------------
@@ -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:
---------------------------
@@ -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:
diff --git a/docs/implicit.rst b/docs/implicit.rst
index 7bd8cbf..90490e3 100644
--- a/docs/implicit.rst
+++ b/docs/implicit.rst
@@ -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:
diff --git a/docs/legacyapplicationclient.rst b/docs/legacyapplicationclient.rst
index 8e20f87..8b85608 100644
--- a/docs/legacyapplicationclient.rst
+++ b/docs/legacyapplicationclient.rst
@@ -1,5 +1,5 @@
Resource Owner Password Credentials Grant flow (LegacyApplicationClient)
------------------------------------------------------------------------
-.. autoclass:: oauthlib.oauth2.draft25.LegacyApplicationClient
+.. autoclass:: oauthlib.oauth2.LegacyApplicationClient
:members:
diff --git a/docs/mobileapplicationclient.rst b/docs/mobileapplicationclient.rst
index 0a81afe..cd96377 100644
--- a/docs/mobileapplicationclient.rst
+++ b/docs/mobileapplicationclient.rst
@@ -1,5 +1,5 @@
Implicit Grant flow (MobileApplicationClient)
---------------------------------------------
-.. autoclass:: oauthlib.oauth2.draft25.MobileApplicationClient
+.. autoclass:: oauthlib.oauth2.MobileApplicationClient
:members:
diff --git a/docs/password.rst b/docs/password.rst
index 32896cc..0230c09 100644
--- a/docs/password.rst
+++ b/docs/password.rst
@@ -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:
diff --git a/docs/preconfigured_servers.rst b/docs/preconfigured_servers.rst
index f6148bc..51b0e2e 100644
--- a/docs/preconfigured_servers.rst
+++ b/docs/preconfigured_servers.rst
@@ -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:
diff --git a/docs/tokens.rst b/docs/tokens.rst
index 4dde2c9..eb612ea 100644
--- a/docs/tokens.rst
+++ b/docs/tokens.rst
@@ -2,8 +2,6 @@
OAuth 2 Tokens
==============
-TODO(ib-lundgren): Outline the various use cases for each token type.
-
------------------------
Bearer Tokens (standard)
------------------------
@@ -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:
-----------
diff --git a/docs/validator.rst b/docs/validator.rst
index c6a399e..b95f421 100644
--- a/docs/validator.rst
+++ b/docs/validator.rst
@@ -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:
diff --git a/docs/webapplicationclient.rst b/docs/webapplicationclient.rst
index 5cfcef1..a29081b 100644
--- a/docs/webapplicationclient.rst
+++ b/docs/webapplicationclient.rst
@@ -1,5 +1,5 @@
Authorization Code Grant flow (WebApplicationClient)
----------------------------------------------------
-.. autoclass:: oauthlib.oauth2.draft25.WebApplicationClient
+.. autoclass:: oauthlib.oauth2.WebApplicationClient
:members: