@@ -88,13 +88,6 @@ CLIENT_SECRET_GENERATOR_LENGTH
8888The length of the generated secrets, in characters. If this value is too low,
8989secrets may become subject to bruteforce guessing.
9090
91- CLIENT_SECRET_HASHER
92- ~~~~~~~~~~~~~~~~~~~~
93- If set to one of the Django password hasher algorithm names, client_secret values will be
94- stored as `hashed Django passwords <https://docs.djangoproject.com/en/stable/topics/auth/passwords/#how-django-stores-passwords >`_.
95- See the official list in the django.contrib.auth.hashers namespace.
96- Default is none (stored as plain text).
97-
9891EXTRA_SERVER_KWARGS
9992~~~~~~~~~~~~~~~~~~~
10093A dictionary to be passed to oauthlib's Server class. Three options
@@ -104,19 +97,19 @@ of those three can be a callable) must be passed here directly and classes
10497must be instantiated (callables should accept request as their only argument).
10598
10699GRANT_MODEL
107- ~~~~~~~~~~~
100+ ~~~~~~~~~~~~~~~~~
108101The import string of the class (model) representing your grants. Overwrite
109102this value if you wrote your own implementation (subclass of
110103``oauth2_provider.models.Grant ``).
111104
112105APPLICATION_ADMIN_CLASS
113- ~~~~~~~~~~~~~~~~~~~~~~~
106+ ~~~~~~~~~~~~~~~~~
114107The import string of the class (model) representing your application admin class.
115108Overwrite this value if you wrote your own implementation (subclass of
116109``oauth2_provider.admin.ApplicationAdmin ``).
117110
118111ACCESS_TOKEN_ADMIN_CLASS
119- ~~~~~~~~~~~~~~~~~~~~~~~~
112+ ~~~~~~~~~~~~~~~~~
120113The import string of the class (model) representing your access token admin class.
121114Overwrite this value if you wrote your own implementation (subclass of
122115``oauth2_provider.admin.AccessTokenAdmin ``).
@@ -128,7 +121,7 @@ Overwrite this value if you wrote your own implementation (subclass of
128121``oauth2_provider.admin.GrantAdmin ``).
129122
130123REFRESH_TOKEN_ADMIN_CLASS
131- ~~~~~~~~~~~~~~~~~~~~~~~~~
124+ ~~~~~~~~~~~~~~~~~
132125The import string of the class (model) representing your refresh token admin class.
133126Overwrite this value if you wrote your own implementation (subclass of
134127``oauth2_provider.admin.RefreshTokenAdmin ``).
@@ -161,7 +154,7 @@ If you don't change the validator code and don't run cleartokens all refresh
161154tokens will last until revoked or the end of time. You should change this.
162155
163156REFRESH_TOKEN_GRACE_PERIOD_SECONDS
164- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165158The number of seconds between when a refresh token is first used when it is
166159expired. The most common case of this for this is native mobile applications
167160that run into issues of network connectivity during the refresh cycle and are
@@ -185,7 +178,7 @@ See also: validator's rotate_refresh_token method can be overridden to make this
185178when close to expiration, theoretically).
186179
187180REFRESH_TOKEN_GENERATOR
188- ~~~~~~~~~~~~~~~~~~~~~~~
181+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
189182See `ACCESS_TOKEN_GENERATOR `. This is the same but for refresh tokens.
190183Defaults to access token generator if not provided.
191184
@@ -272,7 +265,7 @@ Default: ``""``
272265The RSA private key used to sign OIDC ID tokens. If not set, OIDC is disabled.
273266
274267OIDC_RSA_PRIVATE_KEYS_INACTIVE
275- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
268+ ~~~~~~~~~~~~~~~~~~~~
276269Default: ``[] ``
277270
278271An array of *inactive * RSA private keys. These keys are not used to sign tokens,
@@ -283,7 +276,7 @@ This is useful for providing a smooth transition during key rotation.
283276should be retained in this inactive list.
284277
285278OIDC_JWKS_MAX_AGE_SECONDS
286- ~~~~~~~~~~~~~~~~~~~~~~~~~
279+ ~~~~~~~~~~~~~~~~~~~~~~
287280Default: ``3600 ``
288281
289282The max-age value for the Cache-Control header on jwks_uri.
@@ -358,9 +351,9 @@ Time of sleep in seconds used by ``cleartokens`` management command between batc
358351
359352
360353Settings imported from Django project
361- -------------------------------------
354+ --------------------------
362355
363356USE_TZ
364- ~~~~~~
357+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
365358
366359Used to determine whether or not to make token expire dates timezone aware.
0 commit comments