Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / netwerk / base / nsIHttpAuthenticatorCallback.idl
blob74fd3c97abe5d7fb7553e7f74840379ca3992fbe
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/. */
5 #include "nsISupports.idl"
7 [uuid(d989cb03-e446-4086-b9e6-46842cb97bd5)]
8 interface nsIHttpAuthenticatorCallback : nsISupports
10 /**
11 * Authentication data for a header is available.
13 * @param aCreds
14 * Credentials which were obtained asynchonously.
15 * @param aFlags
16 * Flags set by asynchronous call.
17 * @param aResult
18 * Result status of credentials generation
19 * @param aSessionState
20 * Modified session state to be passed to caller
21 * @param aContinuationState
22 * Modified continuation state to be passed to caller
24 void onCredsGenerated(in ACString aCreds,
25 in unsigned long aFlags,
26 in nsresult aResult,
27 in nsISupports aSessionsState,
28 in nsISupports aContinuationState);