Can we use Credential Provider only for OTP and No User Name Password

I have a requirement, where I need to lock the pc and add an OTP to login each time, instead of using the username password. Does privacy credential provider by default support this ? Or is there any easy way to do this with privacy credential provider library

this is not possible with our credential provider. To log in, any credential provider has to provide either:

  1. Specify username,domain and password
  2. Certificate