mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 05:00:10 +00:00
PM-20532 - Register SendTokenService and SendTokenApiService
This commit is contained in:
@@ -108,6 +108,10 @@ import { UserVerificationService as UserVerificationServiceAbstraction } from "@
|
||||
import { WebAuthnLoginApiServiceAbstraction } from "@bitwarden/common/auth/abstractions/webauthn/webauthn-login-api.service.abstraction";
|
||||
import { WebAuthnLoginPrfKeyServiceAbstraction } from "@bitwarden/common/auth/abstractions/webauthn/webauthn-login-prf-key.service.abstraction";
|
||||
import { WebAuthnLoginServiceAbstraction } from "@bitwarden/common/auth/abstractions/webauthn/webauthn-login.service.abstraction";
|
||||
import { SendTokenApiService as SendTokenApiServiceAbstraction } from "@bitwarden/common/auth/send-access/abstractions/send-token-api.service";
|
||||
import { SendTokenService as SendTokenServiceAbstraction } from "@bitwarden/common/auth/send-access/abstractions/send-token.service";
|
||||
import { SendTokenApiService } from "@bitwarden/common/auth/send-access/services/send-token-api.service";
|
||||
import { SendTokenService } from "@bitwarden/common/auth/send-access/services/send-token.service";
|
||||
import { AccountApiServiceImplementation } from "@bitwarden/common/auth/services/account-api.service";
|
||||
import { AccountServiceImplementation } from "@bitwarden/common/auth/services/account.service";
|
||||
import { AnonymousHubService } from "@bitwarden/common/auth/services/anonymous-hub.service";
|
||||
@@ -1439,6 +1443,16 @@ const safeProviders: SafeProvider[] = [
|
||||
useClass: SendPasswordService,
|
||||
deps: [CryptoFunctionServiceAbstraction],
|
||||
}),
|
||||
safeProvider({
|
||||
provide: SendTokenApiServiceAbstraction,
|
||||
useClass: SendTokenApiService,
|
||||
deps: [EnvironmentService, ApiServiceAbstraction],
|
||||
}),
|
||||
safeProvider({
|
||||
provide: SendTokenServiceAbstraction,
|
||||
useClass: SendTokenService,
|
||||
deps: [GlobalStateProvider, SendTokenApiServiceAbstraction, SendPasswordService],
|
||||
}),
|
||||
safeProvider({
|
||||
provide: LoginComponentService,
|
||||
useClass: DefaultLoginComponentService,
|
||||
|
||||
Reference in New Issue
Block a user