From 604f94e15b3d01484f5041b1e0a2754d14044cb7 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Fiorentino Date: Mon, 2 Mar 2015 17:51:35 -0300 Subject: [PATCH] Update Docs. --- doc.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc.md b/doc.md index 546bfa1..5c5e55b 100644 --- a/doc.md +++ b/doc.md @@ -75,10 +75,12 @@ REQUIRED. The OP server url. For example `http://localhost:8000`. ##### LOGIN_URL REQUIRED. Used to log the user in. [Read more in Django docs](https://docs.djangoproject.com/en/1.7/ref/settings/#login-url). + Default is `/accounts/login/`. ##### OIDC_CODE_EXPIRE OPTIONAL. Expressed in seconds. + Default is `60*10`. ##### OIDC_EXTRA_SCOPE_CLAIMS @@ -126,11 +128,15 @@ If a field is empty or ``None`` will be cleaned from the response. ##### OIDC_IDTOKEN_EXPIRE OPTIONAL. Expressed in seconds. + Default is `60*10`. ##### OIDC_IDTOKEN_SUB_GENERATOR OPTIONAL. Subject Identifier. A locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client. -Is a function that receives both `user` and `client` objects. Default is: + +Is just a function that receives both `user` and `client` objects, returns a string. + +Default is: ```python def default_sub_generator(user, client): @@ -139,6 +145,7 @@ def default_sub_generator(user, client): ##### OIDC_TOKEN_EXPIRE OPTIONAL. Token object expiration after been created. Expressed in seconds. + Default is `60*60`. ## Users And Clients