This is an archived page. It's not actively maintained.

nsIAuthPromptAdapterFactory

An interface for wrapping nsIAuthPrompt interfaces to make them usable via an nsIAuthPrompt2 interface.
1.0
66
Introduced
Gecko 1.9
Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3)

Method overview

nsIAuthPrompt2 createAdapter(in nsIAuthPrompt aPrompt);

Methods

createAdapter()

Wrap an object implementing nsIAuthPrompt so that it's usable via nsIAuthPrompt2.

nsIAuthPrompt2 createAdapter(
  in nsIAuthPrompt aPrompt
);
Parameters
aPrompt
The nsIAuthPrompt to wrap.
Return value

An nsIAuthPrompt2.

See also