From 3a4459bdd83744a3cd3a698997a6a4b483b0c6e0 Mon Sep 17 00:00:00 2001 From: Jonathan Huot Date: Fri, 18 Oct 2019 17:17:43 +0200 Subject: Initial custom grant type documentation. Improved Grant Type section to let developers create or implement their own custom grant type. Or also help them implementing new RFC. --- docs/oauth2/grants/custom_validators.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/oauth2/grants/custom_validators.rst') diff --git a/docs/oauth2/grants/custom_validators.rst b/docs/oauth2/grants/custom_validators.rst index 4629e6f..9917dd7 100644 --- a/docs/oauth2/grants/custom_validators.rst +++ b/docs/oauth2/grants/custom_validators.rst @@ -1,5 +1,15 @@ Custom Validators ----------------- -.. autoclass:: oauthlib.oauth2.rfc6749.grant_types.base.ValidatorsContainer +The Custom validators are useful when you want to change a particular +behavior of an existing grant. That is often needed because of the +diversity of the identity softwares and to let the oauthlib framework to be +flexible as possible. + +However, if you are looking into writing a custom grant type, please +refer to the :doc:`Custom Grant Type ` +instead. + +.. autoclass:: + oauthlib.oauth2.rfc6749.grant_types.base.ValidatorsContainer :members: -- cgit v1.2.1