Files
ClubPenguinServer/MareSynchronosServer/MareSynchronosServices/Authentication/FailedAuthorization.cs
2022-11-05 14:51:59 +01:00

16 lines
389 B
C#

using System;
using System.Threading;
using System.Threading.Tasks;
namespace MareSynchronosServices.Authentication;
internal class FailedAuthorization
{
private int failedAttempts = 1;
public int FailedAttempts => failedAttempts;
public Task ResetTask { get; set; }
public void IncreaseFailedAttempts()
{
Interlocked.Increment(ref failedAttempts);
}
}