mirror of
https://github.com/bitwarden/server
synced 2025-12-21 18:53:41 +00:00
Queue ip addresses for block whenever they exceed the rate limit too much
This commit is contained in:
10
src/Core/Services/IBlockIpService.cs
Normal file
10
src/Core/Services/IBlockIpService.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Core.Services
|
||||
{
|
||||
public interface IBlockIpService
|
||||
{
|
||||
Task BlockIpAsync(string ipAddress, bool permanentBlock);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user