Files
LightlessServer/LightlessSyncServer/LightlessSyncAuthService/Authentication/SecretKeyFailedAuthorization.cs
2025-08-27 03:02:29 +02:00

13 lines
333 B
C#

namespace LightlessSyncAuthService.Authentication;
internal record SecretKeyFailedAuthorization
{
private int failedAttempts = 1;
public int FailedAttempts => failedAttempts;
public Task ResetTask { get; set; }
public void IncreaseFailedAttempts()
{
Interlocked.Increment(ref failedAttempts);
}
}