This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Api.Services.Contracts
|
||||
{
|
||||
public sealed record CaptchaVerdict(bool Success, string? Error, double? Score);
|
||||
|
||||
public interface ICaptchaVerifier
|
||||
{
|
||||
Task<CaptchaVerdict> VerifyAsync(string token, string? userIp, CancellationToken ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user