• Clears all in-memory token state

    Completely resets the authentication state in memory by:

    1. Clearing the access token, refresh token, and expiry timestamp
    2. Canceling any pending token refresh operations

    This function is typically called during logout or when authentication needs to be completely reset.

    Returns void

    // Reset all authentication state during logout
    clearTokenState();
    displayLoginScreen();
    export function clearTokenState(): void {
    currentAccessToken = null;
    currentRefreshToken = null;
    tokenExpiryTimestamp = null;
    clearRefreshTimer();
    }