tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIHttpAuthCache.idl (823B)


      1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include "nsISupports.idl"
      7 #include "nsIHttpAuthEntry.idl"
      8 
      9 /**
     10 * nsIHttpAuthCache
     11 *
     12 * Provides methods for iterating across the HTTP authentication cache entries
     13 * for access and modification
     14 *
     15 */
     16 [builtinclass, scriptable, uuid(6ef2115c-7c67-41de-8de3-f7d412660a03)]
     17 interface nsIHttpAuthCache : nsISupports
     18 {
     19  /**
     20   * Retrieve all HTTP auth cache entries.
     21   */
     22  Array<nsIHttpAuthEntry> getEntries();
     23 
     24  /**
     25   * Clears a specified cache entry from the HTTP auth cache.
     26   */
     27  void clearEntry(in nsIHttpAuthEntry entry);
     28 };