11 references to GetAccessFailedCountAsync
Microsoft.AspNetCore.Identity.Specification.Tests (8)
UserManagerSpecificationTests.cs (8)
1163
Assert.Equal(0, await mgr.
GetAccessFailedCountAsync
(user));
1183
Assert.Equal(1, await mgr.
GetAccessFailedCountAsync
(user));
1188
Assert.Equal(0, await mgr.
GetAccessFailedCountAsync
(user));
1208
Assert.Equal(1, await mgr.
GetAccessFailedCountAsync
(user));
1210
Assert.Equal(0, await mgr.
GetAccessFailedCountAsync
(user));
1216
Assert.Equal(1, await mgr.
GetAccessFailedCountAsync
(user));
1239
Assert.Equal(1, await mgr.
GetAccessFailedCountAsync
(user));
1244
Assert.Equal(0, await mgr.
GetAccessFailedCountAsync
(user));
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
921
await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.
GetAccessFailedCountAsync
(null));
1133
async () => await manager.
GetAccessFailedCountAsync
(null));
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
1845
if (await
GetAccessFailedCountAsync
(user).ConfigureAwait(false) == 0)