1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-21 10:43:23 +00:00

Clean up unused services and imports

This commit is contained in:
Thomas Rittson
2021-12-20 11:05:39 +10:00
parent a318e267ec
commit c8eb559f06
2 changed files with 0 additions and 7 deletions

View File

@@ -6,9 +6,7 @@ import { AccountProfile, AccountTokens } from "../models/domain/account";
import { AuthResult } from "../models/domain/authResult"; import { AuthResult } from "../models/domain/authResult";
import { SymmetricCryptoKey } from "../models/domain/symmetricCryptoKey"; import { SymmetricCryptoKey } from "../models/domain/symmetricCryptoKey";
import { SetKeyConnectorKeyRequest } from "../models/request/account/setKeyConnectorKeyRequest";
import { DeviceRequest } from "../models/request/deviceRequest"; import { DeviceRequest } from "../models/request/deviceRequest";
import { KeyConnectorUserKeyRequest } from "../models/request/keyConnectorUserKeyRequest";
import { KeysRequest } from "../models/request/keysRequest"; import { KeysRequest } from "../models/request/keysRequest";
import { PreloginRequest } from "../models/request/preloginRequest"; import { PreloginRequest } from "../models/request/preloginRequest";
@@ -24,7 +22,6 @@ import { ApiService } from "../abstractions/api.service";
import { AppIdService } from "../abstractions/appId.service"; import { AppIdService } from "../abstractions/appId.service";
import { AuthService as AuthServiceAbstraction } from "../abstractions/auth.service"; import { AuthService as AuthServiceAbstraction } from "../abstractions/auth.service";
import { CryptoService } from "../abstractions/crypto.service"; import { CryptoService } from "../abstractions/crypto.service";
import { CryptoFunctionService } from "../abstractions/cryptoFunction.service";
import { EnvironmentService } from "../abstractions/environment.service"; import { EnvironmentService } from "../abstractions/environment.service";
import { KeyConnectorService } from "../abstractions/keyConnector.service"; import { KeyConnectorService } from "../abstractions/keyConnector.service";
import { LogService } from "../abstractions/log.service"; import { LogService } from "../abstractions/log.service";
@@ -34,7 +31,6 @@ import { StateService } from "../abstractions/state.service";
import { TokenService } from "../abstractions/token.service"; import { TokenService } from "../abstractions/token.service";
import { TwoFactorService } from "../abstractions/twoFactor.service"; import { TwoFactorService } from "../abstractions/twoFactor.service";
import { Utils } from "../misc/utils";
import { IdentityCaptchaResponse } from "../models/response/identityCaptchaResponse"; import { IdentityCaptchaResponse } from "../models/response/identityCaptchaResponse";
export class AuthService implements AuthServiceAbstraction { export class AuthService implements AuthServiceAbstraction {
@@ -50,7 +46,6 @@ export class AuthService implements AuthServiceAbstraction {
protected platformUtilsService: PlatformUtilsService, protected platformUtilsService: PlatformUtilsService,
private messagingService: MessagingService, private messagingService: MessagingService,
private logService: LogService, private logService: LogService,
protected cryptoFunctionService: CryptoFunctionService,
private keyConnectorService: KeyConnectorService, private keyConnectorService: KeyConnectorService,
protected environmentService: EnvironmentService, protected environmentService: EnvironmentService,
protected stateService: StateService, protected stateService: StateService,

View File

@@ -105,7 +105,6 @@ describe("Cipher Service", () => {
platformUtilsService, platformUtilsService,
messagingService, messagingService,
logService, logService,
cryptoFunctionService,
keyConnectorService, keyConnectorService,
environmentService, environmentService,
stateService, stateService,
@@ -267,7 +266,6 @@ describe("Cipher Service", () => {
platformUtilsService, platformUtilsService,
messagingService, messagingService,
logService, logService,
cryptoFunctionService,
keyConnectorService, keyConnectorService,
environmentService, environmentService,
stateService, stateService,