34 references to SupportsUserLockout
Microsoft.AspNetCore.Identity (6)
SignInManager.cs (6)
404if (UserManager.SupportsUserLockout && lockoutOnFailure) 554if (UserManager.SupportsUserLockout) 601if (UserManager.SupportsUserLockout) 898return UserManager.SupportsUserLockout && await UserManager.IsLockedOutAsync(user); 937if (UserManager.SupportsUserLockout) 954if (!UserManager.SupportsUserLockout)
Microsoft.AspNetCore.Identity.Test (27)
SignInManagerTest.cs (26)
36manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 66manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 123manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 146manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 170manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 198manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 242manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 268manager.Setup(m => m.SupportsUserLockout).Returns(supportsLockout).Verifiable(); 307manager.Setup(m => m.SupportsUserLockout).Returns(false).Verifiable(); 361manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 403manager.Setup(m => m.SupportsUserLockout).Returns(false).Verifiable(); 442manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 519manager.Setup(m => m.SupportsUserLockout).Returns(supportsLockout).Verifiable(); 569manager.Setup(m => m.SupportsUserLockout).Returns(supportsLockout).Verifiable(); 661manager.Setup(m => m.SupportsUserLockout).Returns(supportsLockout).Verifiable(); 726manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 783manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 837manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 886manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 913manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 1141manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 1164manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 1191manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 1228manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 1256manager.Setup(m => m.SupportsUserLockout).Returns(true).Verifiable(); 1339if (UserManager.SupportsUserLockout)
UserManagerTest.cs (1)
915Assert.False(manager.SupportsUserLockout);
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
470if (Options.Lockout.AllowedForNewUsers && SupportsUserLockout)