7 references to GenerateTwoFactorTokenAsync
IdentitySample.Mvc (1)
Controllers\AccountController.cs (1)
383var code = await _userManager.GenerateTwoFactorTokenAsync(user, model.SelectedProvider);
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
1649token = await manager.GenerateTwoFactorTokenAsync(user, factorId); 1652var token2 = await manager.GenerateTwoFactorTokenAsync(user, factorId); 1690() => manager.GenerateTwoFactorTokenAsync(user, "bogus")); 1851var token = await manager.GenerateTwoFactorTokenAsync(user, factorId); 1868var token = await manager.GenerateTwoFactorTokenAsync(user, "Phone");
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1121async () => await manager.GenerateTwoFactorTokenAsync(null, null));