8 references to EnableTwoFactorAuthentication
Microsoft.AspNetCore.Identity.FunctionalTests (8)
LoginTests.cs (4)
73
var showRecoveryCodes = await UserStories.
EnableTwoFactorAuthentication
(loggedIn);
99
var showRecoveryCodes = await UserStories.
EnableTwoFactorAuthentication
(loggedIn);
119
var showRecoveryCodes = await UserStories.
EnableTwoFactorAuthentication
(loggedIn);
144
var showRecoveryCodes = await UserStories.
EnableTwoFactorAuthentication
(loggedIn);
ManagementTests.cs (4)
37
Assert.NotNull(await UserStories.
EnableTwoFactorAuthentication
(index));
53
Assert.Null(await UserStories.
EnableTwoFactorAuthentication
(index, consent: false));
257
var showRecoveryCodes = await UserStories.
EnableTwoFactorAuthentication
(loggedIn);
294
await UserStories.
EnableTwoFactorAuthentication
(index);