Checks if the user is authenticated with valid tokens
Delegates to the token-operations module's isAuthenticated function, preserving the same function signature for backward compatibility.
True if authenticated with valid tokens, false otherwise
// Check authentication statusimport { isAuthenticated } from "./auth/storage/token-store";if (isAuthenticated()) { showUserProfile();} else { showLoginButton();} Copy
// Check authentication statusimport { isAuthenticated } from "./auth/storage/token-store";if (isAuthenticated()) { showUserProfile();} else { showLoginButton();}
Use isAuthenticated from token-operations directly
export function isAuthenticated(): boolean { return isAuthenticatedOp();} Copy
export function isAuthenticated(): boolean { return isAuthenticatedOp();}
Checks if the user is authenticated with valid tokens
Delegates to the token-operations module's isAuthenticated function, preserving the same function signature for backward compatibility.