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