• Clears all stored authentication tokens

    Completely removes all authentication tokens from every storage location in the application, implementing a thorough logout process:

    1. Clears in-memory token state
    2. Removes tokens from encrypted persistent storage
    3. Clears tokens from the Spotify API module

    This function ensures no token information remains after logout, providing proper security and state management.

    Returns void

    // During user logout
    clearTokens();
    showLoginScreen();
    export function clearTokens(): void {
    try {
    // Clear memory
    clearTokenState();

    // Clear encrypted persistent storage
    clearEncryptedTokens();

    // Clear spotify API module tokens
    spotifyApi.clearTokens();

    saveLog("Authentication tokens cleared", "DEBUG");
    } catch (error) {
    saveLog(`Failed to clear authentication tokens: ${error}`, "ERROR");
    }
    }