diff options
| author | Brendan McCollam <bmccollam@uchicago.edu> | 2016-12-22 16:39:50 +0000 |
|---|---|---|
| committer | Brendan McCollam <bmccollam@uchicago.edu> | 2016-12-22 16:39:50 +0000 |
| commit | cf414259b2b03664cf51e12532035e2a4ef130f3 (patch) | |
| tree | 4d544d277dc9b3210ed203d588701c6cd5601d4e /docs | |
| parent | 790310a6e1e7e1ce434ef478507d9a1c9464e298 (diff) | |
| download | oauthlib-cf414259b2b03664cf51e12532035e2a4ef130f3.tar.gz | |
Updated docs for custom validators
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/oauth2/grants/custom_validators.rst | 5 | ||||
| -rw-r--r-- | docs/oauth2/grants/grants.rst | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/oauth2/grants/custom_validators.rst b/docs/oauth2/grants/custom_validators.rst new file mode 100644 index 0000000..4629e6f --- /dev/null +++ b/docs/oauth2/grants/custom_validators.rst @@ -0,0 +1,5 @@ +Custom Validators +----------------- + +.. autoclass:: oauthlib.oauth2.rfc6749.grant_types.base.ValidatorsContainer + :members: diff --git a/docs/oauth2/grants/grants.rst b/docs/oauth2/grants/grants.rst index f4fcb56..16b17be 100644 --- a/docs/oauth2/grants/grants.rst +++ b/docs/oauth2/grants/grants.rst @@ -9,6 +9,7 @@ Grant types implicit password credentials + custom_validators jwt Grant types are what make OAuth 2 so flexible. The Authorization Code grant is @@ -26,7 +27,7 @@ attempts to cater for easy inclusion of this as much as possible. OAuthlib also offers hooks for registering your own custom validations for use with the existing grant type handlers -(:py:meth:`oauthlib.oauth2.AuthorizationCodeGrant.register_authorization_validator`). +(:py:class:`oauthlib.oauth2.rfc6749.grant_types.base.ValidatorsContainer`). In some situations, this may be more convenient than subclassing or writing your own extension grant type. |
