| author | durandn |
| Tue, 16 Feb 2016 15:46:00 +0100 | |
| changeset 2 | d5c583f9a035 |
| parent 1 | 5f50937893ac |
| child 5 | 4407b131a70e |
| permissions | -rw-r--r-- |
|
2
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
1 |
|
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
2 |
class ClientSettings(object): |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
3 |
|
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
4 |
CLIENT_ID = '' |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
5 |
CLIENT_SECRET = '' |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
6 |
|
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
7 |
# Oauth server config |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
8 |
BASE_URL = 'http://127.0.0.1:5000/api/' |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
9 |
REQUEST_TOKEN_URL = None |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
10 |
ACCESS_TOKEN_URL = 'http://127.0.0.1:5000/oauth/token' |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
11 |
AUTHORIZE_URL = 'http://127.0.0.1:5000/oauth/authorize' |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
12 |
REQUEST_TOKEN_PARAMS = {'scope': ''} |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
13 |
|
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
14 |
# Renkan config |
|
d5c583f9a035
fixed commited oauth settings + edited tmpls and readme
durandn
parents:
1
diff
changeset
|
15 |
CREATE_RENKAN_URL = '' |