AutomaticSavedLoginsMonitor

When password generation happens, we automatically create a login. This login might be later updated with more information when the form is submitted.

We need a way to monitor if a login was automatically created, for a specific tab, so we get data about it when form submitted.

By design, an automatically saved login is only monitored for the current page; when a navigation event happens it will be cleared.

Functions

Link copied to clipboard
abstract fun clearAutoSavedLoginId(tabId: String?)

Clears the automatically saved login ID for the current tab.

Link copied to clipboard
abstract fun getAutoSavedLoginId(tabId: String?): Long?

Retrieves the automatically saved login ID for the current tab, if any.

Link copied to clipboard
abstract fun setAutoSavedLoginId(value: Long, tabId: String?)

Sets the automatically saved login ID for the current tab.