This page checks whether a token exists in localStorage.
localStorage
In a real WebView integration, you would avoid storing tokens in JS storage unless required and rely on safer auth patterns (cookies, short-lived tokens, server-side sessions, etc).