summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/services
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-16 19:17:46 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-16 19:17:46 +0100
commitfbdd26b4a4aa8eb3d83333fe44e93590bc174e11 (patch)
tree6c3728c7c05d3e411d97fe9e8da7d3a861a36c73 /afb-client/app/Frontend/services
parent72eb409f785b23038d87f3513687e2e1ed4dbb7d (diff)
Work in Progress
Diffstat (limited to 'afb-client/app/Frontend/services')
-rw-r--r--afb-client/app/Frontend/services/ConfigApp.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/afb-client/app/Frontend/services/ConfigApp.js b/afb-client/app/Frontend/services/ConfigApp.js
index f36d79b..cafda3f 100644
--- a/afb-client/app/Frontend/services/ConfigApp.js
+++ b/afb-client/app/Frontend/services/ConfigApp.js
@@ -16,6 +16,15 @@
api: { // Warning paths should end with /
token : '/api/token/'
+ },
+
+ session: { // Those data are updated by session service
+ refresh : '/api/token/refresh',
+ check : '/api/token/check',
+ token : '123456789', // typical dev initial token
+ timeout : 3600, // timeout is updated client sessin context creation
+ uuid : '', // uuid map with cookie or long term session access key
+ pingrate: 60 // Ping rate to check if server is still alive
}
};