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 );
aContext
nsIAuthPrompt2.asyncPromptAuth()
.aAuthInfo
nsIAuthPrompt2.asyncPromptAuth()
.Notification that the prompt was cancelled.
void onAuthCancelled( in nsISupports aContext, in boolean userCancel );
aContext
nsIAuthPrompt2.asyncPromptAuth()
.userCancel
false
, this prompt was cancelled by calling the the cancel method on the nsICancelable
; otherwise, it was cancelled by the user.