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 5#include "nsISupports.idl" 6 7[builtinclass, uuid(d989cb03-e446-4086-b9e6-46842cb97bd5)] 8interface nsIHttpAuthenticatorCallback : nsISupports 9{ 10 /** 11 * Authentication data for a header is available. 12 * 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 23 */ 24 void onCredsGenerated(in string aCreds, 25 in unsigned long aFlags, 26 in nsresult aResult, 27 in nsISupports aSessionsState, 28 in nsISupports aContinuationState); 29 30}; 31 32