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