Implemented by
[scriptable, uuid(129d3bd5-8a26-4b0b-b8a0-19fdea029196)]
interface nsIAuthPromptProvider : nsISupports
Constants
Normal (non-proxy) prompt request.
const
PRUint32
PROMPT_NORMAL = 0
Proxy auth request.
const
PRUint32
PROMPT_PROXY = 1
Methods
Request a nsIAuthPrompt interface for the given prompt reason;
@throws NS_ERROR_NOT_AVAILABLE if no prompt is allowed or
available for the given reason.
@param aPromptReason The reason for the auth prompt;
one of @PROMPT_NORMAL or @PROMPT_PROXY
@returns a nsIAuthPrompt interface, or throws NS_ERROR_NOT_AVAILABLE
nsIAuthPrompt
getAuthPrompt(in PRUint32 aPromptReason)
Compare to: