summaryrefslogtreecommitdiff
path: root/docs/oauth2/oidc/validator.rst
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2019-07-19 09:22:21 +0200
committerGitHub <noreply@github.com>2019-07-19 09:22:21 +0200
commitfe9ec057f3cba2f8428ad666ad557d2f77188268 (patch)
treea4b4f4b8567e59f8b0558f2de8786af820cd0c54 /docs/oauth2/oidc/validator.rst
parent9e824cfb0eb36b4d23ab73171b821b1a74ec659c (diff)
parentd7b90fc841694f126ec63500ea8f74330c4672eb (diff)
downloadoauthlib-release-3.0.2.tar.gz
Merge branch 'master' into release-3.0.2release-3.0.2
Diffstat (limited to 'docs/oauth2/oidc/validator.rst')
-rw-r--r--docs/oauth2/oidc/validator.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/oauth2/oidc/validator.rst b/docs/oauth2/oidc/validator.rst
index a03adfe..7a6f574 100644
--- a/docs/oauth2/oidc/validator.rst
+++ b/docs/oauth2/oidc/validator.rst
@@ -10,12 +10,14 @@ upgrade it by replacing one line of code:
.. code-block:: python
from oauthlib.oauth2 import Server
+ from oauthlib.oauth2 import RequestValidator
Into
.. code-block:: python
from oauthlib.openid import Server
+ from oauthlib.openid import RequestValidator
Then, you have to implement the new RequestValidator methods as shown below.
@@ -24,5 +26,5 @@ RequestValidator Extension
A couple of methods must be implemented in your validator subclass if you wish to support OpenID Connect:
-.. autoclass:: oauthlib.oauth2.RequestValidator
- :members: validate_silent_authorization, validate_silent_login, validate_user_match, get_id_token, get_authorization_code_scopes, validate_jwt_bearer_token
+.. autoclass:: oauthlib.openid.RequestValidator
+ :members: