Fires whenever the login session the JS SDK is using is no
longer valid and the user must log in again.
NB. This only fires when action is required from the user, not
when then login session can be renewed by using a refresh token.
Example
matrixClient.on("Session.logged_out", function(errorObj){ // show the login screen });
Fires whenever the login session the JS SDK is using is no longer valid and the user must log in again. NB. This only fires when action is required from the user, not when then login session can be renewed by using a refresh token.
Example