user.logout.warning Client Message
Client-side message raised when a user's session is nearing expiration. Raised once per second after the warning threshold is crossed before logout is reached. The warning threshold defaults to 45 seconds but is adjustable via the authentication client API.
Usage
messaging.subscribe('user.logout.warning', function(data) {
// handle the event
});
Data
remainingSeconds
: remaining seconds until logoutrenewable
: boolean value of whether or not authentication is configured to support renewing via the authentication client API