LockoutOptions LockoutOptions LockoutOptions Class

Definition

Options for configuring user lockout.

public class LockoutOptions
type LockoutOptions = class
Public Class LockoutOptions
Inheritance
LockoutOptionsLockoutOptionsLockoutOptions

Constructors

LockoutOptions() LockoutOptions() LockoutOptions()

Properties

AllowedForNewUsers AllowedForNewUsers AllowedForNewUsers

Gets or sets a flag indicating whether a new user can be locked out. Defaults to true.

DefaultLockoutTimeSpan DefaultLockoutTimeSpan DefaultLockoutTimeSpan

Gets or sets the TimeSpan a user is locked out for when a lockout occurs. Defaults to 5 minutes.

MaxFailedAccessAttempts MaxFailedAccessAttempts MaxFailedAccessAttempts

Gets or sets the number of failed access attempts allowed before a user is locked out, assuming lock out is enabled. Defaults to 5.

Applies to