Config 3.6: Logout

The general URL format is:

http://WEBSITE/HANDLER/role/mime/component

If component matches the pre-defined Logout_name in config.json, the request, usually a GET method, will be treated as logoutĀ fromĀ role.

If you are working on JSON, the logout will return you {“data”:”logout”} . If on HTML, it will logout and then redirect you to Logout defined in the gate.

Internally, the logout action is to delete the role cookie in browser.