diff --git a/libs/common/src/fido2/services/noop-fido2-user-interface.service.ts b/libs/common/src/fido2/services/noop-fido2-user-interface.service.ts index 513c8c451de..7600852e047 100644 --- a/libs/common/src/fido2/services/noop-fido2-user-interface.service.ts +++ b/libs/common/src/fido2/services/noop-fido2-user-interface.service.ts @@ -1,34 +1,10 @@ -import { RequestAbortedError } from "../abstractions/fido2-client.service.abstraction"; import { Fido2UserInterfaceService as Fido2UserInterfaceServiceAbstraction, - NewCredentialParams, + Fido2UserInterfaceSession, } from "../abstractions/fido2-user-interface.service.abstraction"; export class Fido2UserInterfaceService implements Fido2UserInterfaceServiceAbstraction { - async confirmCredential(): Promise { - return false; - } - - pickCredential(): Promise { - throw new RequestAbortedError(); - } - - async confirmNewCredential(): Promise { - return false; - } - - async confirmNewNonDiscoverableCredential( - params: NewCredentialParams, - abortController?: AbortController - ): Promise { - return null; - } - - async informExcludedCredential( - existingCipherIds: string[], - newCredential: NewCredentialParams, - abortController?: AbortController - ): Promise { - // Not Implemented + newSession(abortController?: AbortController): Promise { + throw new Error("Not implemented exception"); } }