oauth/settings/client_settings.py.tmpl
author durandn
Wed, 05 Oct 2016 14:24:32 +0200
changeset 124 983e72b4bc45
parent 7 cb21b50b7793
permissions -rw-r--r--
Added tag 00.00.21 for changeset 15724968d6e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
    
7
cb21b50b7793 small corrections on oauth server and allauth provider + implemented post_save signals to reference resources into itop ged
durandn
parents: 5
diff changeset
     4
   	CLIENT_ID = ''
cb21b50b7793 small corrections on oauth server and allauth provider + implemented post_save signals to reference resources into itop ged
durandn
parents: 5
diff changeset
     5
   	CLIENT_SECRET = ''
cb21b50b7793 small corrections on oauth server and allauth provider + implemented post_save signals to reference resources into itop ged
durandn
parents: 5
diff changeset
     6
    
5
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
     7
    # OAUTH SERVER CONFIG
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
     8
    BASE_URL = 'http://127.0.0.1:5000/rest/'
2
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
     9
    REQUEST_TOKEN_URL = None
5
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
    10
    ACCESS_TOKEN_URL = 'http://127.0.0.1:5000/oauth/oauth2/token'
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
    11
    AUTHORIZE_URL = 'http://127.0.0.1:5000/oauth/oauth2/authorize'
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
    12
    REQUEST_TOKEN_PARAMS = {'scope': 'basic'}
2
d5c583f9a035 fixed commited oauth settings + edited tmpls and readme
durandn
parents: 1
diff changeset
    13
    
5
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
    14
    # RENKAN CONFIG
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
    15
    CREATE_RENKAN_URL = 'http://127.0.0.1:8001/front/new/?context=http://127.0.0.1:5000'
4407b131a70e adjustments on Oauth server and mock ged client + Readme
durandn
parents: 2
diff changeset
    16
    CREATE_RENKAN_ENDPOINT = 'http://127.0.0.1:8001/api/v1_0/renkans/'