- scope.ResetSession = function() {
- console.log ("ResetSession");
- var postdata= {/* any json your application may need */};
- var handler = $http.post(AppConfig.session.reset + '?token='+AppConfig.session.token, postdata);
-
- handler.success(scope.ProcessResponse);
- handler.error(scope.ProcessError);
+ scope.LogoutClient = function() {
+ console.log ("LogoutClient");
+ AppCall.get ("auth", "logout", {/*query*/}, scope.OnResponse, scope.InvalidApiCall);