Logout Action
This action launches the logout process as defined in the Security Provider implementation.
The action module for this action is "vb/action/builtin/logoutAction". It invokes the handleLogout function on the Security Provider with the logoutUrl argument.
| Parameter Name | Description |
|---|---|
| logoutUrl | The URL to navigate to in order to log out. |
The behavior of the default implementation of the Security Provider handleLogout function is:
-
Navigate to the URL defined by the logoutURL parameter.
-
If the logoutUrl parameter is not defined, uses the logout Url of the Security Provider configuration.
- After the user is logged out, the application continues to the default page of the application.
Example 1-35 Example
An example of a chain using the logoutAction:
"logoutChain": {
"root": "logout",
"actions": {
"logout": {
"module": "vb/action/builtin/logoutAction"
}
}
}