Searched refs:IsLockedOutAsync (Results 1 – 5 of 5) sorted by relevance
116 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(true).Verifiable(); in PasswordSignInReturnsLockedOutWhenLockedOut()146 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(true).Verifiable(); in CheckPasswordSignInReturnsLockedOutWhenLockedOut()203 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in CanPasswordSignIn()227 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in CanPasswordSignInWithNoLogger()252 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in PasswordSignInWorksWithNonTwoFactorStore()279 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in CheckPasswordOnlyResetLockoutWhenTfaNotEnabled()313 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in CheckPasswordAlwaysResetLockoutWhenQuirked()339 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in PasswordSignInRequiresVerification()528 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in CanExternalSignIn()706 manager.Setup(m => m.IsLockedOutAsync(user)).ReturnsAsync(false).Verifiable(); in RememberBrowserSkipsTwoFactorVerificationSignIn()[all …]
816 … await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.IsLockedOutAsync(null)); in LockoutStoreMethodsFailWhenStoreNotImplemented()1032 async () => await manager.IsLockedOutAsync(null)); in MethodsFailWithUnknownUserTest()
1290 Assert.False(await mgr.IsLockedOutAsync(user)); in SingleFailureLockout()1292 Assert.True(await mgr.IsLockedOutAsync(user)); in SingleFailureLockout()1316 Assert.False(await mgr.IsLockedOutAsync(user)); in TwoFailureLockout()1318 Assert.False(await mgr.IsLockedOutAsync(user)); in TwoFailureLockout()1322 Assert.True(await mgr.IsLockedOutAsync(user)); in TwoFailureLockout()1345 Assert.False(await mgr.IsLockedOutAsync(user)); in ResetAccessCountPreventsLockout()1347 Assert.False(await mgr.IsLockedOutAsync(user)); in ResetAccessCountPreventsLockout()1352 Assert.False(await mgr.IsLockedOutAsync(user)); in ResetAccessCountPreventsLockout()1386 Assert.True(await mgr.IsLockedOutAsync(user)); in CanEnableLockoutManuallyAndLockout()1487 Assert.True(await mgr.IsLockedOutAsync(user)); in LockoutEndToUtcNowPlus5ShouldBeLockedOut()[all …]
350 if (await UserManager.IsLockedOutAsync(user)) in CheckPasswordSignInAsync()778 return UserManager.SupportsUserLockout && await UserManager.IsLockedOutAsync(user); in IsLockedOut()
1895 public virtual async Task<bool> IsLockedOutAsync(TUser user) in IsLockedOutAsync() method in Microsoft.AspNetCore.Identity.UserManager