1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

[EC-598] chore: collect all passkeys stuff under common folder

This commit is contained in:
Andreas Coroiu
2023-02-10 13:22:39 +01:00
parent e866d27396
commit 24dcedb498
22 changed files with 33 additions and 34 deletions

View File

@@ -0,0 +1,13 @@
export interface NewCredentialParams {
credentialName: string;
userName: string;
}
export abstract class Fido2UserInterfaceService {
confirmCredential: (cipherId: string, abortController?: AbortController) => Promise<boolean>;
pickCredential: (cipherIds: string[], abortController?: AbortController) => Promise<string>;
confirmNewCredential: (
params: NewCredentialParams,
abortController?: AbortController
) => Promise<boolean>;
}