Table of Contents

Class AccountLockoutSettings

Namespace
KadicAuth.Application.Common
Assembly
KadicAuth.Application.dll

Configures account lockout behavior after consecutive failed login attempts. Mapped from the "AccountLockout" section in appsettings.

public sealed class AccountLockoutSettings
Inheritance
object
AccountLockoutSettings

Fields

SectionName

public const string SectionName = "AccountLockout"

Field Value

string

Properties

LockoutDurationMinutes

Duration in minutes to lock the account after exceeding MaxFailedLoginAttempts. Default: 30.

public int LockoutDurationMinutes { get; set; }

Property Value

int

MaxFailedLoginAttempts

Number of consecutive failed login attempts before locking the account. Default: 5.

public int MaxFailedLoginAttempts { get; set; }

Property Value

int