Authenticating a user after logging them in via the webAuth.login() method with auth0.js SDK

after logging a user in via the webAuth.login() method with auth0.js SDK i am looking to find out how to verify that their token has not expired each time they visit a restricted page after login, with the auth0 / react SDK there is a “isAuthenticated” hook that allows you to verify if the user is currently still authenticated after logging in, there seems to be no such options within the auth.js docs, i have attempted to use the auth0client from auth0-spa sdk to gettokensilently but it gives a login required error. if there is a way to do what i am asking i would also like to know how to log this user out if i logged them in with the webAuth.login() method.

any help is appreciated!