We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c5fb7 commit d84dbf1Copy full SHA for d84dbf1
lib/src/authenticator.dart
@@ -16,6 +16,7 @@ enum AuthenticatorType {
16
oobOtpEmail,
17
oobOtpSms,
18
totp,
19
+ passkey,
20
unknown,
21
}
22
@@ -30,6 +31,8 @@ extension AuthenticatorTypeExtension on AuthenticatorType {
30
31
return "oob_otp_sms";
32
case AuthenticatorType.totp:
33
return "totp";
34
+ case AuthenticatorType.passkey:
35
+ return "passkey";
36
case AuthenticatorType.unknown:
37
return "unknown";
38
@@ -45,6 +48,8 @@ extension AuthenticatorTypeExtension on AuthenticatorType {
45
48
return AuthenticatorType.oobOtpSms;
46
49
case "totp":
47
50
return AuthenticatorType.totp;
51
+ case "passkey":
52
+ return AuthenticatorType.passkey;
53
default:
54
return AuthenticatorType.unknown;
55
0 commit comments