feat(19-02): add RegisterApp/RemoveApp commands, DI wiring, EN/FR localization

- ProfileManagementViewModel: IAppRegistrationService injected, RegisterAppCommand/RemoveAppCommand added
- IsRegistering, ShowFallbackInstructions, RegistrationStatus observable properties
- HasRegisteredApp computed property, CanRegisterApp/CanRemoveApp guards
- RegisterAppAsync: admin check, fallback panel, AppId persistence
- RemoveAppAsync: removal + MSAL clear + AppId null + persistence
- App.xaml.cs: IAppRegistrationService singleton registered
- Strings.resx/fr.resx: 16 new localization keys for register/remove/fallback flow
This commit is contained in:
Dev
2026-04-09 15:17:53 +02:00
parent 69c9d77be3
commit 42b5eda460
4 changed files with 139 additions and 1 deletions

View File

@@ -164,6 +164,9 @@ public partial class App : Application
// Phase 18: Auto-Take Ownership
services.AddTransient<IOwnershipElevationService, OwnershipElevationService>();
// Phase 19: App Registration & Removal
services.AddSingleton<IAppRegistrationService, AppRegistrationService>();
// Phase 7: User Access Audit
services.AddTransient<IUserAccessAuditService, UserAccessAuditService>();
services.AddTransient<IGraphUserSearchService, GraphUserSearchService>();