mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
[EC-598] feat: allow user to confirm duplication
This commit is contained in:
@@ -2,6 +2,16 @@ export abstract class Fido2AuthenticatorService {
|
||||
makeCredential: (params: Fido2AuthenticatorMakeCredentialsParams) => void;
|
||||
}
|
||||
|
||||
export enum Fido2AutenticatorErrorCode {
|
||||
CTAP2_ERR_CREDENTIAL_EXCLUDED,
|
||||
}
|
||||
|
||||
export class Fido2AutenticatorError extends Error {
|
||||
constructor(readonly errorCode: Fido2AutenticatorErrorCode) {
|
||||
super(Fido2AutenticatorErrorCode[errorCode]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for {@link Fido2AuthenticatorService.makeCredential}
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user