How to get expiration time for Auth0 React after login using memory cache option?

We are using Auth0-React and have a requirement to track the expiration time after the user logs into Auth0. If localStorage cache option is used I see the expiration time after login. However, we want to use the default memory cache option. Is there a way to obtain the expiration time seen in localStorage when the cache mode is memory? If so, how would that be done.