Clears all in-memory token state
Completely resets the authentication state in memory by:
This function is typically called during logout or when authentication needs to be completely reset.
// Reset all authentication state during logoutclearTokenState();displayLoginScreen(); Copy
// Reset all authentication state during logoutclearTokenState();displayLoginScreen();
export function clearTokenState(): void { currentAccessToken = null; currentRefreshToken = null; tokenExpiryTimestamp = null; clearRefreshTimer();} Copy
export function clearTokenState(): void { currentAccessToken = null; currentRefreshToken = null; tokenExpiryTimestamp = null; clearRefreshTimer();}
Clears all in-memory token state
Completely resets the authentication state in memory by:
This function is typically called during logout or when authentication needs to be completely reset.