1
0
mirror of https://github.com/bitwarden/server synced 2026-01-08 03:23:20 +00:00

hcaptcha validation on password login (#1398)

This commit is contained in:
Kyle Spearrin
2021-06-16 12:47:41 -04:00
committed by GitHub
parent 1796b1dd8e
commit d2e48a5c2c
8 changed files with 189 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
using System.Threading.Tasks;
namespace Bit.Core.Services
{
public interface ICaptchaValidationService
{
bool ServiceEnabled { get; }
Task<bool> ValidateCaptchaResponseAsync(string captchResponse, string clientIpAddress);
}
}