Reputation:
I mean, something like this (it was used at Control Panel > Credential Manager
):
I have tried some APIs:
CredUIPromptForWindowsCredentials
and CredentialPicker.PickAsync
: It seems good, but there's no fingerprint/PIN options.UserConsentVerifier.RequestVerificationAsync
: It seems good, but there's only fingerprint option.I need to show both user/password
and fingerprint/pin
options. Is there any API or Options to show them?
Thanks:)
Upvotes: 3
Views: 554
Reputation: 309
CredUIPromptForWindowsCredentials
will often include Windows Hello and PIN code as authentication alternatives if passing dwFlags=CREDUIWIN_ENUMERATE_CURRENT_USER
as done in the Chromium sources. I've verified this on a "vanilla" Windows 10 21H2 computer.
However, this is not always the case. There seem to be some sort of system policy preventing Windows Hello, PIN code and other authentication provides from showing up on certain (or possibly all) domain-joined computers.
Upvotes: 0