* Cloud: connect to cloud * Fix tests in py34 * Update warrant to 0.5.0 * Differentiate errors between unknown handler vs exception * Lint * Respond to cloud message to logout * Refresh token exception handling * Swap out bare exception for RuntimeError * Add more tests * Fix tests py34
14 lines
280 B
Python
14 lines
280 B
Python
"""Constants for the cloud component."""
|
|
DOMAIN = 'cloud'
|
|
CONFIG_DIR = '.cloud'
|
|
REQUEST_TIMEOUT = 10
|
|
|
|
SERVERS = {
|
|
# Example entry:
|
|
# 'production': {
|
|
# 'cognito_client_id': '',
|
|
# 'user_pool_id': '',
|
|
# 'region': '',
|
|
# 'relayer': ''
|
|
# }
|
|
}
|