All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.js.common.logout.js Maven / Gradle / Ivy

The newest version!
(function Logout(){
    eventProcessor.registerProcessor(new EventProcessor(
        function(eventType){return eventType == events.LOGOUT},
        function(){
            const request = new Request(HttpMethod.GET, Mapping.LOGOUT);
                request.processValidResponse = function(){
                    notificationService.showSuccess(MessageCode.getMessage("server-stopped"));
                }
            dao.sendRequestAsync(request);
        }
    ));
})();




© 2015 - 2024 Weber Informatics LLC | Privacy Policy