Credential Management: Support zeroclick credential in 'request()'.
If only a single credential is available, and zero-click behavior is enabled, then we don't need to ask the user for permission to present the credential in response to a website's call to `request()`. This patch implements that logic, walking through the local credentials for an origin in the password store, and returning zeroclick credentials without prompting. If no such credential is available, and the caller set 'zero_click_only', then we also won't prompt the user, and will simply return an empty credential. BUG=400674 Review URL: https://codereview.chromium.org/879913004 Cr-Commit-Position: refs/heads/master@{#313885}
Showing
Please register or sign in to comment