nsIHttpAuthenticatorCallback.idl 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. [scriptable, uuid(d989cb03-e446-4086-b9e6-46842cb97bd5)]
  6. interface nsIHttpAuthenticatorCallback : nsISupports
  7. {
  8. /**
  9. * Authentication data for a header is available.
  10. *
  11. * @param aCreds
  12. * Credentials which were obtained asynchonously.
  13. * @param aFlags
  14. * Flags set by asynchronous call.
  15. * @param aResult
  16. * Result status of credentials generation
  17. * @param aSessionState
  18. * Modified session state to be passed to caller
  19. * @param aContinuationState
  20. * Modified continuation state to be passed to caller
  21. */
  22. void onCredsGenerated(in string aCreds,
  23. in unsigned long aFlags,
  24. in nsresult aResult,
  25. in nsISupports aSessionsState,
  26. in nsISupports aContinuationState);
  27. };