nsISupports
Last changed in Gecko 1.9 (Firefox 3)Callers must call exactly one method if nsIAuthPrompt2.asyncPromptAuth() returns successfully. They must not call any method on this interface before nsIAuthPrompt2.asyncPromptAuth() returns.
void onAuthAvailable(in nsISupports aContext, in nsIAuthInformation aAuthInfo); |
void onAuthCancelled(in nsISupports aContext, in boolean userCancel); |
Authentication information is available.
void onAuthAvailable( in nsISupports aContext, in nsIAuthInformation aAuthInfo );
aContextnsIAuthPrompt2.asyncPromptAuth().aAuthInfonsIAuthPrompt2.asyncPromptAuth().Notification that the prompt was cancelled.
void onAuthCancelled( in nsISupports aContext, in boolean userCancel );
aContextnsIAuthPrompt2.asyncPromptAuth().userCancelfalse, this prompt was cancelled by calling the the cancel method on the nsICancelable; otherwise, it was cancelled by the user.