Interface for callback methods for the asynchronous nsIAuthPrompt2 method.
Callers MUST call exactly one method if nsIAuthPrompt2::promptPasswordAsync
returns successfully. They MUST NOT call any method on this interface before
promptPasswordAsync returns.
Authentication information is available.
@note Any exceptions thrown from this method should be ignored.
aContext | The context as passed to promptPasswordAsync |
aAuthInfo | Authentication information. Must be the same object that was passed to promptPasswordAsync. |
Notification that the prompt was cancelled.
aContext | The context that was passed to promptPasswordAsync. |
userCancel | If false, this prompt was cancelled by calling the the cancel method on the nsICancelable; otherwise, it was cancelled by the user. |