IPasswordsUpdatePasswordHandler Property |
Namespace: DotNetBrowser.Passwords
IHandler<UpdatePasswordParameters, UpdatePasswordResponse> UpdatePasswordHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IPasswords has already been disposed. |
This handler is equivalent to the "Update Password?" bubble in Chromium.
The handler can be invoked only if the login and password from the form were previously saved in the password store and now user entered a new password value.
Use the Update method to update the password for this login in the password store . The updated password will be reflected in the suggestions pop-up.
Use the Ignore method to stay with the old password. If you submit the form with the same password value next time the handler will be invoked again.
The prerequisites for the handler invocation:
If an exception occurs inside the handler implementation, the default behavior will be applied - the response Ignore will be used.