mozilla
Your Search Results

    nsIAuthPromptProvider

    This interface requests a prompt interface for the given prompt reason.
    Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3)

    Method overview

    void getAuthPrompt(in PRUint32 aPromptReason, in nsIIDRef iid, [iid_is(iid),retval] out nsQIResult result);

    Constants

    Constant Value Description
    PROMPT_NORMAL 0 Normal (non-proxy) prompt request.
    PROMPT_PROXY 1 Proxy authentication request.

    Methods

    getAuthPrompt()

    This method requests a prompt interface for the given prompt reason.

    void getAuthPrompt(
      in PRUint32 aPromptReason,
      in nsIIDRef iid,
      [iid_is(iid),retval] out nsQIResult result
    );
    
    Parameters
    aPromptReason
    The reason for the authentication prompt, one of the PROMPT_* constants.
    iid
    The desired interface, for example, NS_GET_IID(nsIAuthPrompt2).
    result
    A nsIAuthPrompt2 interface.
    Exceptions thrown
    NS_ERROR_NOT_AVAILABLE
    If no prompt is allowed or available for the given reason.

    Document Tags and Contributors

    Contributors to this page: Arehman4, trevorh, Sheppy
    Last updated by: Sheppy,