Module: alfresco/services/LogoutService

alfresco/services/LogoutService

Author:
  • Kevin Roast
License:
Source:

Methods

doLogout()

Perform a logout POST operation. The action of performing this call will return a 401 Unauthorised status code and potentially a 'Location' header for the redirect - this is handled by CoreXhr.
Source:

registerSubscriptions()

Sets up the subscriptions for the LogoutService
Since:
  • 1.0.32
Source:

reloadPage()

Refresh the current page to ensure logout occurs. This is the callback used by the doLogout function and will be called on receiving the logout response. Attempting to reload the page will ensure that the user is shown login page having logged out.
Source: