Bug 1744318 [wpt PR 31881] - Add a test for https://crrev.com/c/3311271, a=testonly
[gecko.git] / netwerk / base / nsIHttpAuthenticatorCallback.idl
blob530756f5007dfe417e9cffa6ad34f8cf77d556ba
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 [builtinclass, 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);