mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
[EC-598] feat: quick fix noop service
This commit is contained in:
@@ -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<boolean> {
|
||||
return false;
|
||||
}
|
||||
|
||||
pickCredential(): Promise<string> {
|
||||
throw new RequestAbortedError();
|
||||
}
|
||||
|
||||
async confirmNewCredential(): Promise<boolean> {
|
||||
return false;
|
||||
}
|
||||
|
||||
async confirmNewNonDiscoverableCredential(
|
||||
params: NewCredentialParams,
|
||||
abortController?: AbortController
|
||||
): Promise<string> {
|
||||
return null;
|
||||
}
|
||||
|
||||
async informExcludedCredential(
|
||||
existingCipherIds: string[],
|
||||
newCredential: NewCredentialParams,
|
||||
abortController?: AbortController
|
||||
): Promise<void> {
|
||||
// Not Implemented
|
||||
newSession(abortController?: AbortController): Promise<Fido2UserInterfaceSession> {
|
||||
throw new Error("Not implemented exception");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user