Files
ClubPenguinServer/MareSynchronosServer/MareSynchronosShared/Authentication/SecretKeyFailedAuthorization.cs
2022-12-18 14:53:44 +01:00

13 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);
}
}