@@ -97,19 +97,19 @@ of those three can be a callable) must be passed here directly and classes
9797must be instantiated (callables should accept request as their only argument).
9898
9999GRANT_MODEL
100- ~~~~~~~~~~~~~~~~~
100+ ~~~~~~~~~~~
101101The import string of the class (model) representing your grants. Overwrite
102102this value if you wrote your own implementation (subclass of
103103``oauth2_provider.models.Grant ``).
104104
105105APPLICATION_ADMIN_CLASS
106- ~~~~~~~~~~~~~~~~~
106+ ~~~~~~~~~~~~~~~~~~~~~~~
107107The import string of the class (model) representing your application admin class.
108108Overwrite this value if you wrote your own implementation (subclass of
109109``oauth2_provider.admin.ApplicationAdmin ``).
110110
111111ACCESS_TOKEN_ADMIN_CLASS
112- ~~~~~~~~~~~~~~~~~
112+ ~~~~~~~~~~~~~~~~~~~~~~~~
113113The import string of the class (model) representing your access token admin class.
114114Overwrite this value if you wrote your own implementation (subclass of
115115``oauth2_provider.admin.AccessTokenAdmin ``).
@@ -121,7 +121,7 @@ Overwrite this value if you wrote your own implementation (subclass of
121121``oauth2_provider.admin.GrantAdmin ``).
122122
123123REFRESH_TOKEN_ADMIN_CLASS
124- ~~~~~~~~~~~~~~~~~
124+ ~~~~~~~~~~~~~~~~~~~~~~~~~
125125The import string of the class (model) representing your refresh token admin class.
126126Overwrite this value if you wrote your own implementation (subclass of
127127``oauth2_provider.admin.RefreshTokenAdmin ``).
@@ -154,7 +154,7 @@ If you don't change the validator code and don't run cleartokens all refresh
154154tokens will last until revoked or the end of time. You should change this.
155155
156156REFRESH_TOKEN_GRACE_PERIOD_SECONDS
157- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158158The number of seconds between when a refresh token is first used when it is
159159expired. The most common case of this for this is native mobile applications
160160that run into issues of network connectivity during the refresh cycle and are
@@ -178,7 +178,7 @@ See also: validator's rotate_refresh_token method can be overridden to make this
178178when close to expiration, theoretically).
179179
180180REFRESH_TOKEN_GENERATOR
181- ~~~~~~~~~~~~~~~~~~~~~~~~~~
181+ ~~~~~~~~~~~~~~~~~~~~~~~
182182See `ACCESS_TOKEN_GENERATOR `. This is the same but for refresh tokens.
183183Defaults to access token generator if not provided.
184184
@@ -265,7 +265,7 @@ Default: ``""``
265265The RSA private key used to sign OIDC ID tokens. If not set, OIDC is disabled.
266266
267267OIDC_RSA_PRIVATE_KEYS_INACTIVE
268- ~~~~~~~~~~~~~~~~~~~~
268+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269269Default: ``[] ``
270270
271271An array of *inactive * RSA private keys. These keys are not used to sign tokens,
@@ -276,7 +276,7 @@ This is useful for providing a smooth transition during key rotation.
276276should be retained in this inactive list.
277277
278278OIDC_JWKS_MAX_AGE_SECONDS
279- ~~~~~~~~~~~~~~~~~~~~~~
279+ ~~~~~~~~~~~~~~~~~~~~~~~~~
280280Default: ``3600 ``
281281
282282The max-age value for the Cache-Control header on jwks_uri.
@@ -354,9 +354,9 @@ load when clearing large batches of expired tokens.
354354
355355
356356Settings imported from Django project
357- --------------------------
357+ -------------------------------------
358358
359359USE_TZ
360- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
360+ ~~~~~~
361361
362362Used to determine whether or not to make token expire dates timezone aware.
0 commit comments