Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / conf / 20-snf-astakos-oa2-app-settings.py @ 2f8a7c0e

History | View | Annotate | Download (636 Bytes)

1
#USER_MODEL = get_setting('USER_MODEL', 'auth.User')
2
#
3
#ENDPOINT_PREFIX = get_setting('ENDPOINT_PREFIX', 'oa2/')
4
#
5
#TOKEN_ENDPOINT = get_setting('TOKEN_ENDPOINT', 'token/')
6
#
7
#AUTHORIZATION_ENDPOINT = get_setting('AUTHORIZATION_ENDPOINT', 'auth/')
8
#
9
## Set the length of newly created authorization codes to 60 characters
10
#AUTHORIZATION_CODE_LENGTH = get_setting('AUTHORIZATION_CODE_LENGTH', 60)
11
#
12
## Set the length of newly created access tokens to 30 characters
13
#TOKEN_LENGTH = get_setting('TOKEN_LENGTH', 30)
14
#
15
## Set the expiration time of newly created access tokens to 20 seconds
16
#TOKEN_EXPIRES = get_setting('TOKEN_EXPIRES', 20)