7 references to SupportsUserTwoFactor
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
806=> UserManager.SupportsUserTwoFactor &&
Microsoft.AspNetCore.Identity.Test (6)
SignInManagerTest.cs (5)
200manager.Setup(m => m.SupportsUserTwoFactor).Returns(tfaEnabled).Verifiable(); 276manager.Setup(m => m.SupportsUserTwoFactor).Returns(true).Verifiable(); 314manager.Setup(m => m.SupportsUserTwoFactor).Returns(true).Verifiable(); 481manager.Setup(m => m.SupportsUserTwoFactor).Returns(userManagerSupportsTwoFactor).Verifiable(); 784manager.Setup(m => m.SupportsUserTwoFactor).Returns(true).Verifiable();
UserManagerTest.cs (1)
905Assert.False(manager.SupportsUserTwoFactor);