We have a SPA for the medical field. Our requirements state that after 30 minutes of inactivity, the user must be logged out and their screen be cleared of all data (i.e. redirected to logout).
I know that I can set the inactivity timeout via Log In Session Management >> Inactivity timeout
In the client, I would like to periodically check if the session is still valid (inactivity timeout has not been reached). If the session has ended, then I would redirect them to the login screen.
What I cannot seem to figure out is how to check the session in such a way that will not extend it. Is there such an api?