<img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
App Framework Binder Simple Client
</h3>
-
-<token-refresh></token-refresh>
+<!--
+<token-refresh></token-refresh>-->
<div class="button-box box-content ">
scope.OpenSession = function() {
console.log ("OpenSession");
var postdata= {/* any json your application may need */};
- var handler = $http.post(ConfigApp.api.token + 'create?token='+ConfigApp.session.token, postdata);
+ var handler = $http.post(ConfigApp.api.token + 'create?token='+ConfigApp.session.initial, postdata);
handler.success(scope.ProcessResponse);
handler.error(scope.ProcessError);
session: { // Those data are updated by session service
refresh : '/api/token/refresh',
ping : '/api/token/check',
- token : '123456789', // typical dev initial token
+ initial : '123456789', // typical dev initial token
timeout : 3600, // timeout is updated client sessin context creation
+ pingrate: 60, // Ping rate to check if server is still alive
uuid : '', // uuid map with cookie or long term session access key
- pingrate: 60 // Ping rate to check if server is still alive
+ token : '' // will be returned from authentication
}
};