I am trying to make a Windows custom credential provider using this reference https://learn.microsoft.com/en-us/samples/microsoft/windows-classic-samples/credential-provider/
The idea is:
It works well whenever I match the password and Username, and login using my "Credential Provider"
Then I realize, after I login to my Microsoft username, The next login will be prompted PIN instead of password like this:
I know I can keep my Microsoft account's Password to my offline database and my idea is still working.
However, since my password is too long, I want to keep the pin instead of the password
Does Windows credential provider support PIN authentication?
I tried to google it, and it just showing the smartcard's pin instead of the Windows Logon Pin
------------------- UPDATE ------------
Looks like I did not write the question clearly
I want to extend my current Credential Provider that able to automatically sign in using password and Windows Hello PIN.
So the Database will consist of username and PIN (that match with Windows Hello PIN) or Password (that match with Local account password)
Is it possible?
Have a look how you set-up new logon using Picture
or PIN
credential providers from Microsoft Hello
- initially you enter your password.
So these providers store this collected data in some internals and later provide them as collected by themself.
Nobody restrict you from doing the same way.
------------------- UPDATE ------------
Have a look at SampleWrapExistingCredentialProvider