From 997d40f65a6fb7eaa9712f1de1504a6f23218466 Mon Sep 17 00:00:00 2001 From: Colton Hurst Date: Thu, 19 Dec 2024 14:54:59 -0500 Subject: [PATCH] PM-16234: Move DesktopFido2UserInterfaceService and DesktopFido2UserInterfaceSession to autofill ownership (#12482) --- apps/desktop/src/app/services/services.module.ts | 2 +- .../services/desktop-fido2-user-interface.service.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) rename apps/desktop/src/{platform => autofill}/services/desktop-fido2-user-interface.service.ts (98%) diff --git a/apps/desktop/src/app/services/services.module.ts b/apps/desktop/src/app/services/services.module.ts index 8fa33215eb..0f54190799 100644 --- a/apps/desktop/src/app/services/services.module.ts +++ b/apps/desktop/src/app/services/services.module.ts @@ -101,9 +101,9 @@ import { DesktopLoginApprovalComponentService } from "../../auth/login/desktop-l import { DesktopLoginComponentService } from "../../auth/login/desktop-login-component.service"; import { DesktopAutofillSettingsService } from "../../autofill/services/desktop-autofill-settings.service"; import { DesktopAutofillService } from "../../autofill/services/desktop-autofill.service"; +import { DesktopFido2UserInterfaceService } from "../../autofill/services/desktop-fido2-user-interface.service"; import { ElectronBiometricsService } from "../../key-management/biometrics/electron-biometrics.service"; import { flagEnabled } from "../../platform/flags"; -import { DesktopFido2UserInterfaceService } from "../../platform/services/desktop-fido2-user-interface.service"; import { DesktopSettingsService } from "../../platform/services/desktop-settings.service"; import { ElectronKeyService } from "../../platform/services/electron-key.service"; import { ElectronLogRendererService } from "../../platform/services/electron-log.renderer.service"; diff --git a/apps/desktop/src/platform/services/desktop-fido2-user-interface.service.ts b/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts similarity index 98% rename from apps/desktop/src/platform/services/desktop-fido2-user-interface.service.ts rename to apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts index 116e8989e0..684b19e739 100644 --- a/apps/desktop/src/platform/services/desktop-fido2-user-interface.service.ts +++ b/apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts @@ -19,8 +19,6 @@ import { LoginUriView } from "@bitwarden/common/vault/models/view/login-uri.view import { LoginView } from "@bitwarden/common/vault/models/view/login.view"; import { SecureNoteView } from "@bitwarden/common/vault/models/view/secure-note.view"; -// TODO: This should be moved to the directory of whatever team takes this on - export class DesktopFido2UserInterfaceService implements Fido2UserInterfaceServiceAbstraction {