Files
xIdentityModels/Configurations/XIdentityPolicyLockout.cs
2024-01-25 04:42:47 +03:30

27 lines
890 B
C#

namespace xIdentityModels.Configurations {
/// <summary>
/// User Account Lock Policies
/// </summary>
public class XIdentityPolicyLockout {
/// <summary>
/// The String which Provide Time Span Delais
/// between Lockout and UnLock a User Account
/// this Provided String the Parsed before Use
/// </summary>
/// <value></value>
public string LockoutTimeSpanProvider { get; set; }
/// <summary>
/// the Number of InvalidLoginAttemps which can
/// Happens to Lockout User Account
/// </summary>
/// <value></value>
public byte MaxFailedAccessAttempts { get; set; }
/// <summary>
/// determines Lockout mechanism allowed for new Users or not
/// </summary>
/// <value></value>
public bool AllowedForNewUsers { get; set; }
}
}