mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
[EC-598] feat: add support for user verifiction using MP during attestation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export interface NewCredentialParams {
|
||||
credentialName: string;
|
||||
userName: string;
|
||||
userVerification: boolean;
|
||||
}
|
||||
|
||||
export abstract class Fido2UserInterfaceService {
|
||||
@@ -16,11 +17,11 @@ export abstract class Fido2UserInterfaceSession {
|
||||
confirmNewCredential: (
|
||||
params: NewCredentialParams,
|
||||
abortController?: AbortController
|
||||
) => Promise<boolean>;
|
||||
) => Promise<{ confirmed: boolean; userVerified: boolean }>;
|
||||
confirmNewNonDiscoverableCredential: (
|
||||
params: NewCredentialParams,
|
||||
abortController?: AbortController
|
||||
) => Promise<string | undefined>;
|
||||
) => Promise<{ cipherId: string; userVerified: boolean }>;
|
||||
informExcludedCredential: (
|
||||
existingCipherIds: string[],
|
||||
abortController?: AbortController
|
||||
|
||||
Reference in New Issue
Block a user