mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[EC-598] chore: continue rename webauthn to fido2
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
export interface NewCredentialParams {
|
||||
credentialName: string;
|
||||
userName: string;
|
||||
}
|
||||
|
||||
export abstract class Fido2UserInterfaceService {
|
||||
newSession: (abortController?: AbortController) => Promise<Fido2UserInterfaceSession>;
|
||||
}
|
||||
|
||||
export abstract class Fido2UserInterfaceSession {
|
||||
fallbackRequested = false;
|
||||
aborted = false;
|
||||
|
||||
confirmCredential: (cipherId: string, abortController?: AbortController) => Promise<boolean>;
|
||||
pickCredential: (cipherIds: string[], abortController?: AbortController) => Promise<string>;
|
||||
confirmNewCredential: (
|
||||
params: NewCredentialParams,
|
||||
abortController?: AbortController
|
||||
) => Promise<boolean>;
|
||||
confirmNewNonDiscoverableCredential: (
|
||||
params: NewCredentialParams,
|
||||
abortController?: AbortController
|
||||
) => Promise<string | undefined>;
|
||||
informExcludedCredential: (
|
||||
existingCipherIds: string[],
|
||||
abortController?: AbortController
|
||||
) => Promise<void>;
|
||||
close: () => void;
|
||||
}
|
||||
Reference in New Issue
Block a user