nsIHttpAuthEntry.idl (1201B)
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 8 /** 9 * nsIHttpAuthIdentity 10 * Defines an interface (domain, user, and password) 11 * identifying the HTTP authentication cache entry. 12 * 13 */ 14 [scriptable, builtinclass, uuid(5a88870b-92bd-4c2f-817a-04132caef74c)] 15 interface nsIHttpAuthIdentity : nsISupports 16 { 17 readonly attribute AString domain; 18 readonly attribute AString user; 19 readonly attribute AString password; 20 }; 21 22 /** 23 * nsIHttpAuthEntry 24 * Defines an interface representing a cache entry in the HTTP authentication cache. 25 * 26 */ 27 [scriptable, builtinclass, uuid(9bdf473d-63c2-4cf8-92f8-270e80b8aeba)] 28 interface nsIHttpAuthEntry : nsISupports 29 { 30 readonly attribute ACString realm; 31 32 readonly attribute ACString creds; 33 34 readonly attribute ACString challenge; 35 36 readonly attribute AString domain; 37 38 readonly attribute AString user; 39 40 readonly attribute AString password; 41 42 readonly attribute nsIHttpAuthIdentity identity; 43 };