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