init
This commit is contained in:
21
KretaWeb/Models/ReCaptchaModel.cs
Normal file
21
KretaWeb/Models/ReCaptchaModel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user