mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 18:37:22 +01:00
12 lines
329 B
C#
12 lines
329 B
C#
namespace MareSynchronosShared.Authentication;
|
|
|
|
internal record SecretKeyFailedAuthorization
|
|
{
|
|
private int failedAttempts = 1;
|
|
public int FailedAttempts => failedAttempts;
|
|
public Task ResetTask { get; set; }
|
|
public void IncreaseFailedAttempts()
|
|
{
|
|
Interlocked.Increment(ref failedAttempts);
|
|
}
|
|
}
|