oauth/settings/client_settings.py.tmpl
author ymh <ymh.work@gmail.com>
Fri, 11 Mar 2016 00:03:15 +0100
changeset 20 af79d3dd81f7
parent 7 cb21b50b7793
permissions -rw-r--r--
Added tag 00.00.02 for changeset dc3f8366729d


class ClientSettings(object):
    
   	CLIENT_ID = ''
   	CLIENT_SECRET = ''
    
    # OAUTH SERVER CONFIG
    BASE_URL = 'http://127.0.0.1:5000/rest/'
    REQUEST_TOKEN_URL = None
    ACCESS_TOKEN_URL = 'http://127.0.0.1:5000/oauth/oauth2/token'
    AUTHORIZE_URL = 'http://127.0.0.1:5000/oauth/oauth2/authorize'
    REQUEST_TOKEN_PARAMS = {'scope': 'basic'}
    
    # RENKAN CONFIG
    CREATE_RENKAN_URL = 'http://127.0.0.1:8001/front/new/?context=http://127.0.0.1:5000'
    CREATE_RENKAN_ENDPOINT = 'http://127.0.0.1:8001/api/v1_0/renkans/'