aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs
diff options
context:
space:
mode:
authorLibravatar vman <public@vaughnnugent.com>2022-11-18 16:08:51 -0500
committerLibravatar vman <public@vaughnnugent.com>2022-11-18 16:08:51 -0500
commit526c2364b9ad685d1c000fc8a168bf1305aaa8b7 (patch)
treea2bc01607320a6a75e1a869d5bd34e79fd63c595 /VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs
parent2080400119be00bdc354f3121d84ec2f89606ac7 (diff)
Add project files.
Diffstat (limited to 'VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs')
-rw-r--r--VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs b/VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs
new file mode 100644
index 0000000..7e97fc7
--- /dev/null
+++ b/VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs
@@ -0,0 +1,16 @@
+using System.Text.Json.Serialization;
+
+#nullable enable
+
+namespace VNLib.Plugins.Essentials.Accounts.MFA
+{
+ class FidoAuthenticatorSelection
+ {
+ [JsonPropertyName("requireResidentKey")]
+ public bool RequireResidentKey { get; set; } = false;
+ [JsonPropertyName("authenticatorAttachment")]
+ public string? AuthenticatorAttachment { get; set; } = "cross-platform";
+ [JsonPropertyName("userVerification")]
+ public string? UserVerification { get; set; } = "required";
+ }
+}