This commit is contained in:
juanifioren 2015-06-24 12:41:32 -03:00
parent 197818566d
commit 25e7838231

14
DOC.md
View file

@ -171,21 +171,21 @@ def default_sub_generator(user):
return user.id return user.id
``` ```
##### OIDC_TOKEN_EXPIRE ##### OIDC_SKIP_CONSENT_ENABLE
OPTIONAL. Token object expiration after been created.
`int`. Expressed in seconds. Default is `60*60`.
##### OIDC_USER_CONSENT_ENABLE
OPTIONAL. If enabled, the Server will save the user consent given to a specific client, so that user won't be prompted for the same authorization multiple times. OPTIONAL. If enabled, the Server will save the user consent given to a specific client, so that user won't be prompted for the same authorization multiple times.
`bool`. Default is `True`. `bool`. Default is `True`.
##### OIDC_USER_CONSENT_EXPIRE ##### OIDC_SKIP_CONSENT_EXPIRE
OPTIONAL. User consent expiration after been granted. OPTIONAL. User consent expiration after been granted.
`int`. Expressed in days. Default is `30*3`. `int`. Expressed in days. Default is `30*3`.
##### OIDC_TOKEN_EXPIRE
OPTIONAL. Token object expiration after been created.
`int`. Expressed in seconds. Default is `60*60`.
## Users And Clients ## Users And Clients
User and client creation it's up to you. This is because is out of the scope in the core implementation of OIDC. User and client creation it's up to you. This is because is out of the scope in the core implementation of OIDC.