mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-01-19 10:24:21 +01:00
8 lines
262 B
C#
8 lines
262 B
C#
|
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);
|
||
|
}
|