• Writes token data to memory storage

    Updates the in-memory token storage with the provided data, merging it with any existing data rather than replacing it completely.

    Parameters

    Returns void

    // Update multiple token values at once
    writeTokenStorage({
    [ACCESS_TOKEN_KEY]: "new-access-token",
    [TOKEN_EXPIRY_KEY]: Date.now() + 3600000
    });

    Use setTokens from token-operations instead

    export function writeTokenStorage(data: TokenStorage): void {
    Object.assign(memoryTokenStorage, data);
    }