using System.Text.Json.Serialization;
using ProtonVPN.OperatingSystems.WebAuthn.Serialization;
namespace ProtonVPN.OperatingSystems.WebAuthn;
///
/// Authenticators respond to Relying Party requests by returning an object derived from the AuthenticatorResponse class.
///
public abstract class AuthenticatorResponse
{
///
/// This attribute contains a JSON-compatible serialization of the client data.
///
[JsonPropertyName("clientDataJSON")]
[JsonConverter(typeof(Base64UrlConverter))]
public byte[] ClientDataJson { get; set; }
}