mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
[PM-6400] Move core FIDO2 code from vault to platform ownership (#8044)
* [PM-6400] Move core FIDO2 code from vault to platform ownership - lib/common/vault/abstractions/fido2 -> lib/common/platform/abstractions/fido2 - lib/common/vault/services/fido2 -> lib/common/platform/services/fido2 * [PM-6400] fix: wrong imports
This commit is contained in:
parent
79a0b0d46d
commit
7f91e84456
@ -3,7 +3,7 @@ import { mock } from "jest-mock-extended";
|
|||||||
import {
|
import {
|
||||||
AssertCredentialResult,
|
AssertCredentialResult,
|
||||||
CreateCredentialResult,
|
CreateCredentialResult,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
export function createCredentialCreationOptionsMock(
|
export function createCredentialCreationOptionsMock(
|
||||||
customFields: Partial<CredentialCreationOptions> = {},
|
customFields: Partial<CredentialCreationOptions> = {},
|
||||||
|
@ -78,6 +78,9 @@ import { ConfigService } from "@bitwarden/common/platform/abstractions/config/co
|
|||||||
import { CryptoFunctionService as CryptoFunctionServiceAbstraction } from "@bitwarden/common/platform/abstractions/crypto-function.service";
|
import { CryptoFunctionService as CryptoFunctionServiceAbstraction } from "@bitwarden/common/platform/abstractions/crypto-function.service";
|
||||||
import { CryptoService as CryptoServiceAbstraction } from "@bitwarden/common/platform/abstractions/crypto.service";
|
import { CryptoService as CryptoServiceAbstraction } from "@bitwarden/common/platform/abstractions/crypto.service";
|
||||||
import { EncryptService } from "@bitwarden/common/platform/abstractions/encrypt.service";
|
import { EncryptService } from "@bitwarden/common/platform/abstractions/encrypt.service";
|
||||||
|
import { Fido2AuthenticatorService as Fido2AuthenticatorServiceAbstraction } from "@bitwarden/common/platform/abstractions/fido2/fido2-authenticator.service.abstraction";
|
||||||
|
import { Fido2ClientService as Fido2ClientServiceAbstraction } from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
import { Fido2UserInterfaceService as Fido2UserInterfaceServiceAbstraction } from "@bitwarden/common/platform/abstractions/fido2/fido2-user-interface.service.abstraction";
|
||||||
import { FileUploadService as FileUploadServiceAbstraction } from "@bitwarden/common/platform/abstractions/file-upload/file-upload.service";
|
import { FileUploadService as FileUploadServiceAbstraction } from "@bitwarden/common/platform/abstractions/file-upload/file-upload.service";
|
||||||
import { I18nService as I18nServiceAbstraction } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService as I18nServiceAbstraction } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { KeyGenerationService as KeyGenerationServiceAbstraction } from "@bitwarden/common/platform/abstractions/key-generation.service";
|
import { KeyGenerationService as KeyGenerationServiceAbstraction } from "@bitwarden/common/platform/abstractions/key-generation.service";
|
||||||
@ -105,6 +108,8 @@ import { DefaultConfigService } from "@bitwarden/common/platform/services/config
|
|||||||
import { ConsoleLogService } from "@bitwarden/common/platform/services/console-log.service";
|
import { ConsoleLogService } from "@bitwarden/common/platform/services/console-log.service";
|
||||||
import { ContainerService } from "@bitwarden/common/platform/services/container.service";
|
import { ContainerService } from "@bitwarden/common/platform/services/container.service";
|
||||||
import { EncryptServiceImplementation } from "@bitwarden/common/platform/services/cryptography/encrypt.service.implementation";
|
import { EncryptServiceImplementation } from "@bitwarden/common/platform/services/cryptography/encrypt.service.implementation";
|
||||||
|
import { Fido2AuthenticatorService } from "@bitwarden/common/platform/services/fido2/fido2-authenticator.service";
|
||||||
|
import { Fido2ClientService } from "@bitwarden/common/platform/services/fido2/fido2-client.service";
|
||||||
import { FileUploadService } from "@bitwarden/common/platform/services/file-upload/file-upload.service";
|
import { FileUploadService } from "@bitwarden/common/platform/services/file-upload/file-upload.service";
|
||||||
import { KeyGenerationService } from "@bitwarden/common/platform/services/key-generation.service";
|
import { KeyGenerationService } from "@bitwarden/common/platform/services/key-generation.service";
|
||||||
import { MigrationBuilderService } from "@bitwarden/common/platform/services/migration-builder.service";
|
import { MigrationBuilderService } from "@bitwarden/common/platform/services/migration-builder.service";
|
||||||
@ -157,9 +162,6 @@ import { UserId } from "@bitwarden/common/types/guid";
|
|||||||
import { VaultTimeoutStringType } from "@bitwarden/common/types/vault-timeout.type";
|
import { VaultTimeoutStringType } from "@bitwarden/common/types/vault-timeout.type";
|
||||||
import { CipherService as CipherServiceAbstraction } from "@bitwarden/common/vault/abstractions/cipher.service";
|
import { CipherService as CipherServiceAbstraction } from "@bitwarden/common/vault/abstractions/cipher.service";
|
||||||
import { CollectionService as CollectionServiceAbstraction } from "@bitwarden/common/vault/abstractions/collection.service";
|
import { CollectionService as CollectionServiceAbstraction } from "@bitwarden/common/vault/abstractions/collection.service";
|
||||||
import { Fido2AuthenticatorService as Fido2AuthenticatorServiceAbstraction } from "@bitwarden/common/vault/abstractions/fido2/fido2-authenticator.service.abstraction";
|
|
||||||
import { Fido2ClientService as Fido2ClientServiceAbstraction } from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
|
||||||
import { Fido2UserInterfaceService as Fido2UserInterfaceServiceAbstraction } from "@bitwarden/common/vault/abstractions/fido2/fido2-user-interface.service.abstraction";
|
|
||||||
import { CipherFileUploadService as CipherFileUploadServiceAbstraction } from "@bitwarden/common/vault/abstractions/file-upload/cipher-file-upload.service";
|
import { CipherFileUploadService as CipherFileUploadServiceAbstraction } from "@bitwarden/common/vault/abstractions/file-upload/cipher-file-upload.service";
|
||||||
import { FolderApiServiceAbstraction } from "@bitwarden/common/vault/abstractions/folder/folder-api.service.abstraction";
|
import { FolderApiServiceAbstraction } from "@bitwarden/common/vault/abstractions/folder/folder-api.service.abstraction";
|
||||||
import { InternalFolderService as InternalFolderServiceAbstraction } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
|
import { InternalFolderService as InternalFolderServiceAbstraction } from "@bitwarden/common/vault/abstractions/folder/folder.service.abstraction";
|
||||||
@ -170,8 +172,6 @@ import { VaultSettingsService as VaultSettingsServiceAbstraction } from "@bitwar
|
|||||||
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
import { CipherView } from "@bitwarden/common/vault/models/view/cipher.view";
|
||||||
import { CipherService } from "@bitwarden/common/vault/services/cipher.service";
|
import { CipherService } from "@bitwarden/common/vault/services/cipher.service";
|
||||||
import { CollectionService } from "@bitwarden/common/vault/services/collection.service";
|
import { CollectionService } from "@bitwarden/common/vault/services/collection.service";
|
||||||
import { Fido2AuthenticatorService } from "@bitwarden/common/vault/services/fido2/fido2-authenticator.service";
|
|
||||||
import { Fido2ClientService } from "@bitwarden/common/vault/services/fido2/fido2-client.service";
|
|
||||||
import { CipherFileUploadService } from "@bitwarden/common/vault/services/file-upload/cipher-file-upload.service";
|
import { CipherFileUploadService } from "@bitwarden/common/vault/services/file-upload/cipher-file-upload.service";
|
||||||
import { FolderApiService } from "@bitwarden/common/vault/services/folder/folder-api.service";
|
import { FolderApiService } from "@bitwarden/common/vault/services/folder/folder-api.service";
|
||||||
import { FolderService } from "@bitwarden/common/vault/services/folder/folder.service";
|
import { FolderService } from "@bitwarden/common/vault/services/folder/folder.service";
|
||||||
|
@ -3,7 +3,7 @@ import {
|
|||||||
AssertCredentialResult,
|
AssertCredentialResult,
|
||||||
CreateCredentialParams,
|
CreateCredentialParams,
|
||||||
CreateCredentialResult,
|
CreateCredentialResult,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
type SharedFido2ScriptInjectionDetails = {
|
type SharedFido2ScriptInjectionDetails = {
|
||||||
runAt: browser.contentScripts.RegisteredContentScriptOptions["runAt"];
|
runAt: browser.contentScripts.RegisteredContentScriptOptions["runAt"];
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import { mock, MockProxy } from "jest-mock-extended";
|
import { mock, MockProxy } from "jest-mock-extended";
|
||||||
import { BehaviorSubject } from "rxjs";
|
import { BehaviorSubject } from "rxjs";
|
||||||
|
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
|
||||||
import {
|
import {
|
||||||
AssertCredentialParams,
|
AssertCredentialParams,
|
||||||
CreateCredentialParams,
|
CreateCredentialParams,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
|
import { Fido2ClientService } from "@bitwarden/common/platform/services/fido2/fido2-client.service";
|
||||||
import { VaultSettingsService } from "@bitwarden/common/vault/abstractions/vault-settings/vault-settings.service";
|
import { VaultSettingsService } from "@bitwarden/common/vault/abstractions/vault-settings/vault-settings.service";
|
||||||
import { Fido2ClientService } from "@bitwarden/common/vault/services/fido2/fido2-client.service";
|
|
||||||
|
|
||||||
import { createPortSpyMock } from "../../../autofill/spec/autofill-mocks";
|
import { createPortSpyMock } from "../../../autofill/spec/autofill-mocks";
|
||||||
import {
|
import {
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
import { firstValueFrom, startWith } from "rxjs";
|
import { firstValueFrom, startWith } from "rxjs";
|
||||||
import { pairwise } from "rxjs/operators";
|
import { pairwise } from "rxjs/operators";
|
||||||
|
|
||||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
|
||||||
import {
|
import {
|
||||||
AssertCredentialParams,
|
AssertCredentialParams,
|
||||||
AssertCredentialResult,
|
AssertCredentialResult,
|
||||||
CreateCredentialParams,
|
CreateCredentialParams,
|
||||||
CreateCredentialResult,
|
CreateCredentialResult,
|
||||||
Fido2ClientService,
|
Fido2ClientService,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||||
import { VaultSettingsService } from "@bitwarden/common/vault/abstractions/vault-settings/vault-settings.service";
|
import { VaultSettingsService } from "@bitwarden/common/vault/abstractions/vault-settings/vault-settings.service";
|
||||||
|
|
||||||
import { BrowserApi } from "../../../platform/browser/browser-api";
|
import { BrowserApi } from "../../../platform/browser/browser-api";
|
||||||
|
@ -16,14 +16,14 @@ import {
|
|||||||
|
|
||||||
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
|
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
|
||||||
import { AuthenticationStatus } from "@bitwarden/common/auth/enums/authentication-status";
|
import { AuthenticationStatus } from "@bitwarden/common/auth/enums/authentication-status";
|
||||||
import { Utils } from "@bitwarden/common/platform/misc/utils";
|
import { UserRequestedFallbackAbortReason } from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
import { UserRequestedFallbackAbortReason } from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
|
||||||
import {
|
import {
|
||||||
Fido2UserInterfaceService as Fido2UserInterfaceServiceAbstraction,
|
Fido2UserInterfaceService as Fido2UserInterfaceServiceAbstraction,
|
||||||
Fido2UserInterfaceSession,
|
Fido2UserInterfaceSession,
|
||||||
NewCredentialParams,
|
NewCredentialParams,
|
||||||
PickCredentialParams,
|
PickCredentialParams,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-user-interface.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-user-interface.service.abstraction";
|
||||||
|
import { Utils } from "@bitwarden/common/platform/misc/utils";
|
||||||
|
|
||||||
import { BrowserApi } from "../../platform/browser/browser-api";
|
import { BrowserApi } from "../../platform/browser/browser-api";
|
||||||
import { closeFido2Popout, openFido2Popout } from "../popup/utils/vault-popout-window";
|
import { closeFido2Popout, openFido2Popout } from "../popup/utils/vault-popout-window";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { mock, MockProxy } from "jest-mock-extended";
|
import { mock, MockProxy } from "jest-mock-extended";
|
||||||
|
|
||||||
import { CreateCredentialResult } from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
import { CreateCredentialResult } from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
import { createPortSpyMock } from "../../../autofill/spec/autofill-mocks";
|
import { createPortSpyMock } from "../../../autofill/spec/autofill-mocks";
|
||||||
import { triggerPortOnDisconnectEvent } from "../../../autofill/spec/testing-utils";
|
import { triggerPortOnDisconnectEvent } from "../../../autofill/spec/testing-utils";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
AssertCredentialParams,
|
AssertCredentialParams,
|
||||||
CreateCredentialParams,
|
CreateCredentialParams,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
import { sendExtensionMessage } from "../../../autofill/utils";
|
import { sendExtensionMessage } from "../../../autofill/utils";
|
||||||
import { Fido2PortName } from "../enums/fido2-port-name.enum";
|
import { Fido2PortName } from "../enums/fido2-port-name.enum";
|
||||||
|
@ -3,7 +3,7 @@ import {
|
|||||||
CreateCredentialResult,
|
CreateCredentialResult,
|
||||||
AssertCredentialParams,
|
AssertCredentialParams,
|
||||||
AssertCredentialResult,
|
AssertCredentialResult,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
export enum MessageType {
|
export enum MessageType {
|
||||||
CredentialCreationRequest,
|
CredentialCreationRequest,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { FallbackRequestedError } from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
import { FallbackRequestedError } from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
import { Message, MessageType } from "./message";
|
import { Message, MessageType } from "./message";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { FallbackRequestedError } from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
import { FallbackRequestedError } from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
|
|
||||||
import { WebauthnUtils } from "../webauthn-utils";
|
import { WebauthnUtils } from "../webauthn-utils";
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import {
|
import {
|
||||||
CreateCredentialResult,
|
CreateCredentialResult,
|
||||||
AssertCredentialResult,
|
AssertCredentialResult,
|
||||||
} from "@bitwarden/common/vault/abstractions/fido2/fido2-client.service.abstraction";
|
} from "@bitwarden/common/platform/abstractions/fido2/fido2-client.service.abstraction";
|
||||||
import { Fido2Utils } from "@bitwarden/common/vault/services/fido2/fido2-utils";
|
import { Fido2Utils } from "@bitwarden/common/platform/services/fido2/fido2-utils";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
InsecureAssertCredentialParams,
|
InsecureAssertCredentialParams,
|
||||||
|
@ -2,8 +2,14 @@ import { TextEncoder } from "util";
|
|||||||
|
|
||||||
import { mock, MockProxy } from "jest-mock-extended";
|
import { mock, MockProxy } from "jest-mock-extended";
|
||||||
|
|
||||||
import { Utils } from "../../../platform/misc/utils";
|
import { CipherService } from "../../../vault/abstractions/cipher.service";
|
||||||
import { CipherService } from "../../abstractions/cipher.service";
|
import { SyncService } from "../../../vault/abstractions/sync/sync.service.abstraction";
|
||||||
|
import { CipherRepromptType } from "../../../vault/enums/cipher-reprompt-type";
|
||||||
|
import { CipherType } from "../../../vault/enums/cipher-type";
|
||||||
|
import { Cipher } from "../../../vault/models/domain/cipher";
|
||||||
|
import { CipherView } from "../../../vault/models/view/cipher.view";
|
||||||
|
import { Fido2CredentialView } from "../../../vault/models/view/fido2-credential.view";
|
||||||
|
import { LoginView } from "../../../vault/models/view/login.view";
|
||||||
import {
|
import {
|
||||||
Fido2AuthenticatorErrorCode,
|
Fido2AuthenticatorErrorCode,
|
||||||
Fido2AuthenticatorGetAssertionParams,
|
Fido2AuthenticatorGetAssertionParams,
|
||||||
@ -14,13 +20,7 @@ import {
|
|||||||
Fido2UserInterfaceSession,
|
Fido2UserInterfaceSession,
|
||||||
NewCredentialParams,
|
NewCredentialParams,
|
||||||
} from "../../abstractions/fido2/fido2-user-interface.service.abstraction";
|
} from "../../abstractions/fido2/fido2-user-interface.service.abstraction";
|
||||||
import { SyncService } from "../../abstractions/sync/sync.service.abstraction";
|
import { Utils } from "../../misc/utils";
|
||||||
import { CipherRepromptType } from "../../enums/cipher-reprompt-type";
|
|
||||||
import { CipherType } from "../../enums/cipher-type";
|
|
||||||
import { Cipher } from "../../models/domain/cipher";
|
|
||||||
import { CipherView } from "../../models/view/cipher.view";
|
|
||||||
import { Fido2CredentialView } from "../../models/view/fido2-credential.view";
|
|
||||||
import { LoginView } from "../../models/view/login.view";
|
|
||||||
|
|
||||||
import { CBOR } from "./cbor";
|
import { CBOR } from "./cbor";
|
||||||
import { AAGUID, Fido2AuthenticatorService } from "./fido2-authenticator.service";
|
import { AAGUID, Fido2AuthenticatorService } from "./fido2-authenticator.service";
|
@ -1,6 +1,9 @@
|
|||||||
import { LogService } from "../../../platform/abstractions/log.service";
|
import { CipherService } from "../../../vault/abstractions/cipher.service";
|
||||||
import { Utils } from "../../../platform/misc/utils";
|
import { SyncService } from "../../../vault/abstractions/sync/sync.service.abstraction";
|
||||||
import { CipherService } from "../../abstractions/cipher.service";
|
import { CipherRepromptType } from "../../../vault/enums/cipher-reprompt-type";
|
||||||
|
import { CipherType } from "../../../vault/enums/cipher-type";
|
||||||
|
import { CipherView } from "../../../vault/models/view/cipher.view";
|
||||||
|
import { Fido2CredentialView } from "../../../vault/models/view/fido2-credential.view";
|
||||||
import {
|
import {
|
||||||
Fido2AlgorithmIdentifier,
|
Fido2AlgorithmIdentifier,
|
||||||
Fido2AuthenticatorError,
|
Fido2AuthenticatorError,
|
||||||
@ -13,11 +16,8 @@ import {
|
|||||||
PublicKeyCredentialDescriptor,
|
PublicKeyCredentialDescriptor,
|
||||||
} from "../../abstractions/fido2/fido2-authenticator.service.abstraction";
|
} from "../../abstractions/fido2/fido2-authenticator.service.abstraction";
|
||||||
import { Fido2UserInterfaceService } from "../../abstractions/fido2/fido2-user-interface.service.abstraction";
|
import { Fido2UserInterfaceService } from "../../abstractions/fido2/fido2-user-interface.service.abstraction";
|
||||||
import { SyncService } from "../../abstractions/sync/sync.service.abstraction";
|
import { LogService } from "../../abstractions/log.service";
|
||||||
import { CipherRepromptType } from "../../enums/cipher-reprompt-type";
|
import { Utils } from "../../misc/utils";
|
||||||
import { CipherType } from "../../enums/cipher-type";
|
|
||||||
import { CipherView } from "../../models/view/cipher.view";
|
|
||||||
import { Fido2CredentialView } from "../../models/view/fido2-credential.view";
|
|
||||||
|
|
||||||
import { CBOR } from "./cbor";
|
import { CBOR } from "./cbor";
|
||||||
import { p1363ToDer } from "./ecdsa-utils";
|
import { p1363ToDer } from "./ecdsa-utils";
|
@ -4,8 +4,8 @@ import { of } from "rxjs";
|
|||||||
import { AuthService } from "../../../auth/abstractions/auth.service";
|
import { AuthService } from "../../../auth/abstractions/auth.service";
|
||||||
import { AuthenticationStatus } from "../../../auth/enums/authentication-status";
|
import { AuthenticationStatus } from "../../../auth/enums/authentication-status";
|
||||||
import { DomainSettingsService } from "../../../autofill/services/domain-settings.service";
|
import { DomainSettingsService } from "../../../autofill/services/domain-settings.service";
|
||||||
import { ConfigService } from "../../../platform/abstractions/config/config.service";
|
import { VaultSettingsService } from "../../../vault/abstractions/vault-settings/vault-settings.service";
|
||||||
import { Utils } from "../../../platform/misc/utils";
|
import { ConfigService } from "../../abstractions/config/config.service";
|
||||||
import {
|
import {
|
||||||
Fido2AuthenticatorError,
|
Fido2AuthenticatorError,
|
||||||
Fido2AuthenticatorErrorCode,
|
Fido2AuthenticatorErrorCode,
|
||||||
@ -17,7 +17,7 @@ import {
|
|||||||
CreateCredentialParams,
|
CreateCredentialParams,
|
||||||
FallbackRequestedError,
|
FallbackRequestedError,
|
||||||
} from "../../abstractions/fido2/fido2-client.service.abstraction";
|
} from "../../abstractions/fido2/fido2-client.service.abstraction";
|
||||||
import { VaultSettingsService } from "../../abstractions/vault-settings/vault-settings.service";
|
import { Utils } from "../../misc/utils";
|
||||||
|
|
||||||
import { Fido2AuthenticatorService } from "./fido2-authenticator.service";
|
import { Fido2AuthenticatorService } from "./fido2-authenticator.service";
|
||||||
import { Fido2ClientService } from "./fido2-client.service";
|
import { Fido2ClientService } from "./fido2-client.service";
|
@ -4,9 +4,8 @@ import { parse } from "tldts";
|
|||||||
import { AuthService } from "../../../auth/abstractions/auth.service";
|
import { AuthService } from "../../../auth/abstractions/auth.service";
|
||||||
import { AuthenticationStatus } from "../../../auth/enums/authentication-status";
|
import { AuthenticationStatus } from "../../../auth/enums/authentication-status";
|
||||||
import { DomainSettingsService } from "../../../autofill/services/domain-settings.service";
|
import { DomainSettingsService } from "../../../autofill/services/domain-settings.service";
|
||||||
import { ConfigService } from "../../../platform/abstractions/config/config.service";
|
import { VaultSettingsService } from "../../../vault/abstractions/vault-settings/vault-settings.service";
|
||||||
import { LogService } from "../../../platform/abstractions/log.service";
|
import { ConfigService } from "../../abstractions/config/config.service";
|
||||||
import { Utils } from "../../../platform/misc/utils";
|
|
||||||
import {
|
import {
|
||||||
Fido2AuthenticatorError,
|
Fido2AuthenticatorError,
|
||||||
Fido2AuthenticatorErrorCode,
|
Fido2AuthenticatorErrorCode,
|
||||||
@ -26,7 +25,8 @@ import {
|
|||||||
UserRequestedFallbackAbortReason,
|
UserRequestedFallbackAbortReason,
|
||||||
UserVerification,
|
UserVerification,
|
||||||
} from "../../abstractions/fido2/fido2-client.service.abstraction";
|
} from "../../abstractions/fido2/fido2-client.service.abstraction";
|
||||||
import { VaultSettingsService } from "../../abstractions/vault-settings/vault-settings.service";
|
import { LogService } from "../../abstractions/log.service";
|
||||||
|
import { Utils } from "../../misc/utils";
|
||||||
|
|
||||||
import { isValidRpId } from "./domain-utils";
|
import { isValidRpId } from "./domain-utils";
|
||||||
import { Fido2Utils } from "./fido2-utils";
|
import { Fido2Utils } from "./fido2-utils";
|
Loading…
Reference in New Issue
Block a user