Commit Graph
7 Commits
Author SHA1 Message Date
Ryan Newington 96bff2852a Breaking change: Add autoLogon parameter to OnSelected method
Modified the `OnSelected` method in the `CredentialTile` class to include an `out` parameter named `autoLogon`, which determines if the logon should proceed immediately. Updated XML documentation to explain the new parameter and its behavior in Windows 10. Adjusted the `SetSelected` method in `CredentialTile.ICredentialProviderCredential` to call the updated `OnSelected` method and set `pbAutoLogon` based on the returned `autoLogon` value. Removed the previous `OnSelected` implementation without parameters.

There was confusion between a tile that is configured as a default auto logon tile, and a tile that can be auto logged-on when selecteed. This change clarifies the case of a tile allowing login when selected, without having to press a submit button.
The AutoLogon propert of the CredentialTile object is no longer used in this scenario.
Implementers must override OnSelected(out bool autoLogon) to automatically logon a tile when selected
2024-10-18 10:33:41 +11:00
Ryan Newington 2e9e21aee6 Add ReloadUserTiles method and update IsAutoLogon property
- Added ReloadUserTiles method to CredentialProviderBase to notify LogonUI of tile modifications.
- Introduced private field isAutoLogon in CredentialTile.
- Updated IsAutoLogon property in CredentialTile to use a backing field and call ReloadUserTiles on set.
- Corrected typo in XML documentation for CreateParentWindowHwnd method.
2024-10-17 07:41:11 +11:00
Ryan Newington 65506d9945 Adds OnLoad and OnUnload methods to the credential provider and tile 2024-01-07 14:32:56 +11:00
Ryan Newington 1738569acf Exposes CredUIFlags along side UsageScenario 2023-07-22 16:11:12 +10:00
Ryan Newington feb6987657 Updates naming of logging provider 2023-07-22 15:08:35 +10:00
Ryan Newington ed679eba6b Removes dependency on Microsoft.Extensions.Logging 2023-07-22 14:44:23 +10:00
Ryan Newington bc984aaaa0 Renames tile control classes
Adds conditional logging for memory debugging
Hides CrredentialTile3 implementation
2023-02-03 07:26:07 +11:00