IPasswordsSavePasswordHandler Property |
Namespace: DotNetBrowser.Passwords
IHandler<SavePasswordParameters, SavePasswordResponse> SavePasswordHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IPasswords has already been disposed. |
This handler is equivalent to the "Save Password?" bubble in Chromium.
The handler is invoked when the user submits a new web form (a form that has never been submitted before) or submits the web from with a new login value.
Use the Save to save these login and password in the password store. Stored credentials will be shown next time in the suggestions pop-up when focusing the input associated with login or password.
Use the NeverSave to blacklist password forms on this URL. After this, the handler will never be invoked again until you remove this blacklisted record from the password store.
Use the Ignore to ignore the suggestion to save the login and password in the password store. The handler will be invoked again if this or another web form is submitted on the same URL.
The prerequisites for the handler invocation:
If an exception occurs inside the handler implementation, the default behavior will be applied - the response NeverSave will be used.