michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIAuthPrompt; michael@0: interface nsIAuthPrompt2; michael@0: michael@0: /** michael@0: * An interface for wrapping nsIAuthPrompt interfaces to make michael@0: * them usable via an nsIAuthPrompt2 interface. michael@0: */ michael@0: [scriptable, uuid(60e46383-bb9a-4860-8962-80d9c5c05ddc)] michael@0: interface nsIAuthPromptAdapterFactory : nsISupports michael@0: { michael@0: /** michael@0: * Wrap an object implementing nsIAuthPrompt so that it's usable via michael@0: * nsIAuthPrompt2. michael@0: */ michael@0: nsIAuthPrompt2 createAdapter(in nsIAuthPrompt aPrompt); michael@0: };