LockoutOptions.Enabled Property
Specifies whether user lockout is enabled.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.Security.v25.2.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | false |
|
Property Paths
You can access this nested property as listed below:
| Object Type | Path to Enabled |
|---|---|
| SecurityOptions |
|
Remarks
You can specify lockout options as follows.
Files: SolutionName.Blazor.Server\Startup.cs, SolutionName.Win\Startup.cs
builder.Security
.UseIntegratedMode(options => {
options.Lockout.Enabled = true;
options.Lockout.MaxFailedAccessAttempts = 3;
options.Lockout.DefaultLockoutTimeSpan = TimeSpan.FromMinutes(3);
// ...
})
See Also