1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 06:54:07 +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

@@ -167,6 +167,7 @@ import {
DefaultKeyService as KeyService,
BiometricStateService,
DefaultBiometricStateService,
DefaultSyncedUnlockStateService,
} from "@bitwarden/key-management";
import { NodeCryptoFunctionService } from "@bitwarden/node/services/node-crypto-function.service";
import {
@@ -733,6 +734,7 @@ export class ServiceContainer {
);
const biometricService = new CliBiometricsService();
const syncedUnlockStateService = new DefaultSyncedUnlockStateService(this.stateProvider);
this.vaultTimeoutService = new DefaultVaultTimeoutService(
this.accountService,
@@ -750,6 +752,7 @@ export class ServiceContainer {
this.taskSchedulerService,
this.logService,
biometricService,
syncedUnlockStateService,
lockedCallback,
undefined,
);