Table of Contents

Property UpdatePasswordHandler

Namespace
DotNetBrowser.Passwords
Assembly
DotNetBrowser.dll

UpdatePasswordHandler

Gets or sets a handler that is used when the user is prompted to update the password in the password store

IHandler<UpdatePasswordParameters, UpdatePasswordResponse> UpdatePasswordHandler { get; set; }

Property Value

IHandler<UpdatePasswordParameters, UpdatePasswordResponse>

Remarks

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:

  • The password should not be empty.
  • The scheme should be web-safe.The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.
  • The IProfile profile should not be incognito.
  • The valid SSL certificate is used.
  • A positive server response on the web form submission.

If an exception occurs inside the handler implementation, the default behavior will be applied - the response Ignore will be used.

Exceptions

ObjectDisposedException

The IPasswords has already been disposed.