microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.8k stars 320 forks source link

Add an autofill API for system-wide autofill #440

Open nerocui opened 3 years ago

nerocui commented 3 years ago

Proposal: Add an autofill API so apps like Microsoft Authenticator can use it

Summary

Add APIs/standards for a system-wide autofill service in Windows. App developers like Microsoft Authenticator or LastPass can use it to implement their autofill features on Windows. Windows users should be able to select their preferred autofill provider from the System settings. App developers should be able to adopt this autofill feature in the input fields in their apps with minimal effort (like tag annotation on the web), and they should also be able to extend it should they so require.

Rationale

Scope

[Must] Developers can make auto-fill providers [Must] Users can select which auto-fill provider to use at the time data is being filled [Should] Developers can tag specific input fields in their program as an auto-fillable field (with the type of data to fill) [Won't] Allows the auto-fill provider to perform silent global input injection

KibSquib48 commented 3 years ago

Agreed, every other modern system, even linux to some extent, has something like this

BenJKuhn commented 3 years ago

This should probably be an OS feature, rather than a reunion feature, since it requires a level access that probably runs deeper than what Project Reunion would provide. @feisu, can you take point on transferring this to an OS ask?