Work in Progress
[src/app-framework-demo.git] / afb-client / app / Frontend / services / ConfigApp.js
index f36d79b..cafda3f 100644 (file)
                     
                     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
                     }
                 };