This commit is contained in:
Juan Ignacio Fiorentino 2015-07-30 12:11:57 -03:00
parent 253527aa52
commit 1d3350a9b3

4
DOC.md
View file

@ -181,13 +181,13 @@ OPTIONAL.
##### OIDC_IDTOKEN_SUB_GENERATOR ##### 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. 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 just a function that receives a `user` object. Returns a unique string for the given user. Is just a function that receives a `user` object. Returns a unique `string` for the given user.
Default is: Default is:
```python ```python
def default_sub_generator(user): def default_sub_generator(user):
return user.id return str(user.id)
``` ```
##### OIDC_RSA_KEY_FOLDER ##### OIDC_RSA_KEY_FOLDER