1
0
mirror of https://github.com/bitwarden/browser synced 2026-03-02 19:41:26 +00:00
Files
browser/libs/user-crypto-management/src/user-crypto-management.module.ts
Bernd Schoolmann bb110122a5 [PM-30144] Implement client-side user-key-rotation-service (#18285)
* Implement client-side user-key-rotation-service

* Feature flag

* Add tests

* Fix flag name

* Fix build

* Prettier

* Small clean-up

* Codeowners order cleanup

* Fix eslint issue

* Update sdk to 550

* Cleanup & fix incompatibilities

* Prettier
2026-02-20 15:28:24 +01:00

26 lines
872 B
TypeScript

import { NgModule } from "@angular/core";
import { SdkService } from "@bitwarden/common/platform/abstractions/sdk/sdk.service";
import { DialogService } from "@bitwarden/components";
import { LogService } from "@bitwarden/logging";
import { safeProvider } from "@bitwarden/ui-common";
import { DefaultUserKeyRotationService } from "./user-key-rotation.service";
import { UserKeyRotationService } from "./user-key-rotation.service.abstraction";
/**
* Angular module that provides user crypto management services.
* This module handles key rotation and trust verification for organizations
* and emergency access users.
*/
@NgModule({
providers: [
safeProvider({
provide: UserKeyRotationService,
useClass: DefaultUserKeyRotationService,
deps: [SdkService, LogService, DialogService],
}),
],
})
export class UserCryptoManagementModule {}