1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[EC-598] feat: add check for invalid option values

This commit is contained in:
Andreas Coroiu
2023-03-21 17:27:52 +01:00
parent 696e036ca8
commit e1833ca352
3 changed files with 33 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ export enum Fido2AlgorithmIdentifier {
export enum Fido2AutenticatorErrorCode {
CTAP2_ERR_CREDENTIAL_EXCLUDED,
CTAP2_ERR_UNSUPPORTED_ALGORITHM,
CTAP2_ERR_INVALID_OPTION,
}
export class Fido2AutenticatorError extends Error {