• Removes a token value from memory storage

    Deletes a specific token value from the memory storage. If the key doesn't exist, this operation has no effect.

    Parameters

    • key: string

      Token key to remove

    Returns void

    // Remove the access token only
    removeTokenValue(ACCESS_TOKEN_KEY);

    Use clearTokens from token-operations instead

    export function removeTokenValue(key: string): void {
    delete memoryTokenStorage[key];
    }