aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Plugins.Essentials.Accounts/MFA/FidoAuthenticatorSelection.cs
blob: 7e97fc70b5f25f265f8b62da39357b3f287db5db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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";
    }
}