summaryrefslogtreecommitdiff
path: root/docs/oauth2/grants/custom_validators.rst
blob: 9917dd7134146fec3de3691b7136532106d60333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Custom Validators
-----------------

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 </oauth2/grants/custom_grant>`
instead.

.. autoclass::
               oauthlib.oauth2.rfc6749.grant_types.base.ValidatorsContainer
    :members: