init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue