getUI.getSession().invalidate
navigate to same view (that will redirect you to login page).
So it's technically not a "correct" logout, it's more like a hard reset. So if you want to add some successful logout logic, as the app does not distinguish "correct" logout from any other logout.
The logout is done like this
So it's technically not a "correct" logout, it's more like a hard reset. So if you want to add some successful logout logic, as the app does not distinguish "correct" logout from any other logout.
Is the proper way of logging out this one: