Recaptcha

This commit is contained in:
2025-04-23 01:18:12 +08:00
parent 31db3d5388
commit a008a74d77
6 changed files with 243 additions and 6 deletions

View File

@ -0,0 +1,17 @@
namespace DysonNetwork.Sphere.Auth;
public class CloudflareVerificationResponse
{
public bool Success { get; set; }
public string[]? ErrorCodes { get; set; }
}
public class GoogleVerificationResponse
{
public bool Success { get; set; }
public float Score { get; set; }
public string Action { get; set; }
public DateTime ChallengeTs { get; set; }
public string Hostname { get; set; }
public string[]? ErrorCodes { get; set; }
}