1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 10:03:23 +00:00

move service to libs/auth/angular and update DI

This commit is contained in:
rr-bw
2025-04-15 14:50:25 -07:00
parent 78c8a0c52f
commit 240167328d
10 changed files with 12 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
import { inject } from "@angular/core";
import { ChangePasswordService, DefaultChangePasswordService } from "@bitwarden/auth/common";
import { ChangePasswordService, DefaultChangePasswordService } from "@bitwarden/auth/angular";
import { Account } from "@bitwarden/common/auth/abstractions/account.service";
import { UserKeyRotationService } from "@bitwarden/web-vault/app/key-management/key-rotation/user-key-rotation.service";

View File

@@ -35,9 +35,9 @@ import {
LoginDecryptionOptionsService,
TwoFactorAuthComponentService,
TwoFactorAuthDuoComponentService,
ChangePasswordService,
} from "@bitwarden/auth/angular";
import {
ChangePasswordService,
InternalUserDecryptionOptionsServiceAbstraction,
LoginEmailService,
} from "@bitwarden/auth/common";
@@ -51,10 +51,7 @@ import {
import { AccountApiService as AccountApiServiceAbstraction } from "@bitwarden/common/auth/abstractions/account-api.service";
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
import {
MasterPasswordApiService,
MasterPasswordApiService as MasterPasswordApiServiceAbstraction,
} from "@bitwarden/common/auth/abstractions/master-password-api.service.abstraction";
import { MasterPasswordApiService } from "@bitwarden/common/auth/abstractions/master-password-api.service.abstraction";
import { SsoLoginServiceAbstraction } from "@bitwarden/common/auth/abstractions/sso-login.service.abstraction";
import { ClientType } from "@bitwarden/common/enums";
import { ProcessReloadServiceAbstraction } from "@bitwarden/common/key-management/abstractions/process-reload.service";
@@ -390,7 +387,7 @@ const safeProviders: SafeProvider[] = [
useClass: WebChangePasswordService,
deps: [
KeyServiceAbstraction,
MasterPasswordApiServiceAbstraction,
MasterPasswordApiService,
InternalMasterPasswordServiceAbstraction,
],
}),