mirror of
https://github.com/bitwarden/browser
synced 2026-02-27 01:53:23 +00:00
[PM-23108] CLI Add Email Verification to Send Receive (#18649)
This commit is contained in:
@@ -39,6 +39,7 @@ import { AccountService } from "@bitwarden/common/auth/abstractions/account.serv
|
||||
import { AvatarService as AvatarServiceAbstraction } from "@bitwarden/common/auth/abstractions/avatar.service";
|
||||
import { DevicesApiServiceAbstraction } from "@bitwarden/common/auth/abstractions/devices-api.service.abstraction";
|
||||
import { MasterPasswordApiService as MasterPasswordApiServiceAbstraction } from "@bitwarden/common/auth/abstractions/master-password-api.service.abstraction";
|
||||
import { SendTokenService, DefaultSendTokenService } from "@bitwarden/common/auth/send-access";
|
||||
import {
|
||||
AccountServiceImplementation,
|
||||
getUserId,
|
||||
@@ -91,6 +92,8 @@ import { PinServiceAbstraction } from "@bitwarden/common/key-management/pin/pin.
|
||||
import { PinService } from "@bitwarden/common/key-management/pin/pin.service.implementation";
|
||||
import { SecurityStateService } from "@bitwarden/common/key-management/security-state/abstractions/security-state.service";
|
||||
import { DefaultSecurityStateService } from "@bitwarden/common/key-management/security-state/services/security-state.service";
|
||||
import { SendPasswordService } from "@bitwarden/common/key-management/sends/abstractions/send-password.service";
|
||||
import { DefaultSendPasswordService } from "@bitwarden/common/key-management/sends/services/default-send-password.service";
|
||||
import {
|
||||
DefaultVaultTimeoutService,
|
||||
DefaultVaultTimeoutSettingsService,
|
||||
@@ -306,6 +309,8 @@ export class ServiceContainer {
|
||||
userVerificationApiService: UserVerificationApiService;
|
||||
organizationApiService: OrganizationApiServiceAbstraction;
|
||||
sendApiService: SendApiService;
|
||||
sendTokenService: SendTokenService;
|
||||
sendPasswordService: SendPasswordService;
|
||||
devicesApiService: DevicesApiServiceAbstraction;
|
||||
deviceTrustService: DeviceTrustServiceAbstraction;
|
||||
authRequestService: AuthRequestService;
|
||||
@@ -629,6 +634,8 @@ export class ServiceContainer {
|
||||
this.sendService,
|
||||
);
|
||||
|
||||
this.sendPasswordService = new DefaultSendPasswordService(this.cryptoFunctionService);
|
||||
|
||||
this.searchService = new SearchService(this.logService, this.i18nService, this.stateProvider);
|
||||
|
||||
this.collectionService = new DefaultCollectionService(
|
||||
@@ -675,6 +682,12 @@ export class ServiceContainer {
|
||||
customUserAgent,
|
||||
);
|
||||
|
||||
this.sendTokenService = new DefaultSendTokenService(
|
||||
this.globalStateProvider,
|
||||
this.sdkService,
|
||||
this.sendPasswordService,
|
||||
);
|
||||
|
||||
this.keyConnectorService = new KeyConnectorService(
|
||||
this.accountService,
|
||||
this.masterPasswordService,
|
||||
|
||||
Reference in New Issue
Block a user