Modules: server/actions/logoutResponseActions

All functions in this module are action creators and the return value should be passed to the redux store dispatch() function.

IMPORTANT: This file contains imports that should only be bundled when doing a 'node' build. This action file should never be imported in the web bundle

Source:

Members


<static, constant> parseLogoutResponseQuery

Parse the logout response on the query parameters, if it is present. If the logout response is found, it will be decoded and validated using the signature in the query string. If a valid response is present, it will dispatch the setLogoutResponse action to pass the response to the redux state. This will be read from routeRequirements on the logout callback route.

Source:

<static, constant> redirectMigrationLogout

We need to clear the migration cookie nd redirect to the public site

Source:

Methods


redirectLogoutValidation()

Validate if decoded contains Data.ClientId if it's missing it should redirects to logout confirmation. if Data.Client exist it should clean redux state identity, cookies from the browser and redirect to postLogoutRedirectUri

Source:

setLogoutResponse(query)

Sets the logout response as decoded from the query string

Parameters:
Name Type Description
query

The parsed query string. This will be decoded into an object

Source: