LockoutOptions Class

Summary

Options for configuring user lockout.

Syntax

public class LockoutOptions

GitHub

View on GitHub

class Microsoft.AspNet.Identity.LockoutOptions

Properties

AllowedForNewUsers()
Return type:System.Boolean
public bool AllowedForNewUsers { get; set; }
DefaultLockoutTimeSpan()

Gets or sets the System.TimeSpan a user is locked out for when a lockout occurs.

Return type:System.TimeSpan
public TimeSpan DefaultLockoutTimeSpan { get; set; }
MaxFailedAccessAttempts()

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

Return type:System.Int32
public int MaxFailedAccessAttempts { get; set; }