kreta/KretaWeb/Models/ReCaptchaModel.cs
2024-03-13 00:33:46 +01:00

21 lines
508 B
C#

namespace Kreta.Web.Models
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class ReCaptchaModel
{
[JsonProperty("success")]
public bool Success { get; set; }
[JsonProperty("error-codes")]
public IEnumerable<string> ErrorCodes { get; set; }
[JsonProperty("challenge_ts")]
public DateTime ChallengeTs { get; set; }
[JsonProperty("hostname")]
public string Hostname { get; set; }
}
}