DotBased/DotBased.AspNet.Authority/Models/Options/LockoutOptions.cs

8 lines
262 B
C#
Raw Normal View History

2024-12-23 00:59:13 +01:00
namespace DotBased.AspNet.Authority.Models.Options;
public class LockoutOptions
{
public bool EnableLockout { get; set; } = true;
public int FailedAttempts { get; set; } = 3;
public TimeSpan LockoutTimeout { get; set; } = TimeSpan.FromMinutes(30);
}