Click or drag to resize

IPasswordsSavePasswordHandler Property

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

Namespace:  DotNetBrowser.Passwords
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
IHandler<SavePasswordParameters, SavePasswordResponse> SavePasswordHandler { get; set; }

Property Value

Type: IHandlerSavePasswordParameters, SavePasswordResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IPasswords has already been disposed.
Remarks

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:

  • The login and password should not be empty.
  • The scheme should be web-safe.The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.
  • The 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 NeverSave will be used.

See Also