nsIAuthPromptAdapterFactory.idl 680 B

1234567891011121314151617181920212223
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. #include "nsISupports.idl"
  5. interface nsIAuthPrompt;
  6. interface nsIAuthPrompt2;
  7. /**
  8. * An interface for wrapping nsIAuthPrompt interfaces to make
  9. * them usable via an nsIAuthPrompt2 interface.
  10. */
  11. [scriptable, uuid(60e46383-bb9a-4860-8962-80d9c5c05ddc)]
  12. interface nsIAuthPromptAdapterFactory : nsISupports
  13. {
  14. /**
  15. * Wrap an object implementing nsIAuthPrompt so that it's usable via
  16. * nsIAuthPrompt2.
  17. */
  18. nsIAuthPrompt2 createAdapter(in nsIAuthPrompt aPrompt);
  19. };