ExistingCredentialMatchDetector
interface ExistingCredentialMatchDetector
Used to determine if the given credential details exist in the autofill storage
There are times when the UI from the main app will need to prompt the user if they want to update saved details. We can only show that prompt if we've first determined there is an existing partial match in need of an update.
Types
Link copied to clipboard
interface ContainsCredentialsResult
Possible match types returned when searching for the presence of credentials
Functions
Link copied to clipboard
abstract suspend fun determine(currentUrl: String, username: String?, password: String?): ExistingCredentialMatchDetector.ContainsCredentialsResult
Determine if the given credential exists in the autofill storage. This isn't a binary, as there are different match types that can be returned as captured by ContainsCredentialsResult