Security Events

onLoginSucceeded

The onLoginSucceeded event is fired after the user has been successfully validated and the user details have been retrieved, but before application UI has been built. This provides a means for updating configuration information based on the logged in user, before the application has been build and the home page loaded.

onLoginFailed

The onLoginFailed event is fired after an unsuccessful attempt to validate the login credentials. This provides a means for providing visual feedback that the login was unsucessful.
The “userName” is available as a parameter on the ClientEvent.

onLogout ucceeded

The onLogout event is fired before the application is cleaned up and the login screen re-shown.  his provides a means of cleaning up any global information 

For more details, please checkout Security at Configuration section.