1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 12:40:26 +00:00

Implement synced unlock

This commit is contained in:
Bernd Schoolmann
2025-05-16 15:34:02 +02:00
parent e35882afc8
commit 2c682af14f
29 changed files with 754 additions and 384 deletions

View File

@@ -306,10 +306,12 @@ import {
DefaultBiometricStateService,
DefaultKdfConfigService,
DefaultKeyService,
DefaultSyncedUnlockStateService,
DefaultUserAsymmetricKeysRegenerationApiService,
DefaultUserAsymmetricKeysRegenerationService,
KdfConfigService,
KeyService,
SyncedUnlockStateServiceAbstraction,
UserAsymmetricKeysRegenerationApiService,
UserAsymmetricKeysRegenerationService,
} from "@bitwarden/key-management";
@@ -822,6 +824,7 @@ const safeProviders: SafeProvider[] = [
TaskSchedulerService,
LogService,
BiometricsService,
SyncedUnlockStateServiceAbstraction,
LOCKED_CALLBACK,
LOGOUT_CALLBACK,
],
@@ -1295,6 +1298,11 @@ const safeProviders: SafeProvider[] = [
useClass: DefaultBiometricStateService,
deps: [StateProvider],
}),
safeProvider({
provide: SyncedUnlockStateServiceAbstraction,
useClass: DefaultSyncedUnlockStateService,
deps: [StateProvider],
}),
safeProvider({
provide: VaultSettingsServiceAbstraction,
useClass: VaultSettingsService,