79307109

Date: 2024-12-25 08:04:38
Score: 1
Natty:
Report link

If the call to Credential Manager was triggered by an explicit user action, set preferImmediatelyAvailableCredentials to false. If Credential Manager was opportunistically called, set preferImmediatelyAvailableCredentials to true.

The preferImmediatelyAvailableCredentials option defines whether you prefer to only use locally-available credentials to fulfill the request, instead of credentials from security keys or hybrid key flows. This value is false by default.

If you set preferImmediatelyAvailableCredentials to true and there are no immediately available credentials, Credential Manager won't show any UI and the request will fail immediately, returning NoCredentialException for get requests and CreateCredentialNoCreateOptionException for create requests. This is recommended when calling the Credential Manager API opportunistically, such as when first opening the app.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Holin