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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user