|
|
|
|
@ -3,11 +3,7 @@
|
|
|
|
|
import { APP_INITIALIZER, NgModule, NgZone } from "@angular/core";
|
|
|
|
|
import { merge, of, Subject } from "rxjs";
|
|
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
CollectionService,
|
|
|
|
|
OrganizationUserApiService,
|
|
|
|
|
OrganizationUserService,
|
|
|
|
|
} from "@bitwarden/admin-console/common";
|
|
|
|
|
import { CollectionService } from "@bitwarden/admin-console/common";
|
|
|
|
|
import { DeviceManagementComponentServiceAbstraction } from "@bitwarden/angular/auth/device-management/device-management-component.service.abstraction";
|
|
|
|
|
import { ChangePasswordService } from "@bitwarden/angular/auth/password-management/change-password";
|
|
|
|
|
import { AngularThemingService } from "@bitwarden/angular/platform/services/theming/angular-theming.service";
|
|
|
|
|
@ -48,19 +44,13 @@ import {
|
|
|
|
|
LogoutService,
|
|
|
|
|
UserDecryptionOptionsServiceAbstraction,
|
|
|
|
|
} from "@bitwarden/auth/common";
|
|
|
|
|
import {
|
|
|
|
|
AutomaticUserConfirmationService,
|
|
|
|
|
DefaultAutomaticUserConfirmationService,
|
|
|
|
|
} from "@bitwarden/auto-confirm";
|
|
|
|
|
import { AutomaticUserConfirmationService } from "@bitwarden/auto-confirm";
|
|
|
|
|
import { ExtensionAuthRequestAnsweringService } from "@bitwarden/browser/auth/services/auth-request-answering/extension-auth-request-answering.service";
|
|
|
|
|
import { ExtensionNewDeviceVerificationComponentService } from "@bitwarden/browser/auth/services/new-device-verification/extension-new-device-verification-component.service";
|
|
|
|
|
import { BrowserRouterService } from "@bitwarden/browser/platform/popup/services/browser-router.service";
|
|
|
|
|
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
|
|
|
|
import { EventCollectionService as EventCollectionServiceAbstraction } from "@bitwarden/common/abstractions/event/event-collection.service";
|
|
|
|
|
import {
|
|
|
|
|
InternalOrganizationServiceAbstraction,
|
|
|
|
|
OrganizationService,
|
|
|
|
|
} from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
|
|
|
|
|
import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
|
|
|
|
|
import { PolicyService } from "@bitwarden/common/admin-console/abstractions/policy/policy.service.abstraction";
|
|
|
|
|
import {
|
|
|
|
|
AccountService,
|
|
|
|
|
@ -776,19 +766,6 @@ const safeProviders: SafeProvider[] = [
|
|
|
|
|
useClass: ExtensionNewDeviceVerificationComponentService,
|
|
|
|
|
deps: [],
|
|
|
|
|
}),
|
|
|
|
|
safeProvider({
|
|
|
|
|
provide: AutomaticUserConfirmationService,
|
|
|
|
|
useClass: DefaultAutomaticUserConfirmationService,
|
|
|
|
|
deps: [
|
|
|
|
|
ConfigService,
|
|
|
|
|
ApiService,
|
|
|
|
|
OrganizationUserService,
|
|
|
|
|
StateProvider,
|
|
|
|
|
InternalOrganizationServiceAbstraction,
|
|
|
|
|
OrganizationUserApiService,
|
|
|
|
|
PolicyService,
|
|
|
|
|
],
|
|
|
|
|
}),
|
|
|
|
|
safeProvider({
|
|
|
|
|
provide: SessionTimeoutTypeService,
|
|
|
|
|
useClass: BrowserSessionTimeoutTypeService,
|
|
|
|
|
|