11 references to VerifyUserTokenAsync
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
1071Assert.True(await manager.VerifyUserTokenAsync(user, "Static", "test", token)); 1073Assert.False(await manager.VerifyUserTokenAsync(user, "Static", "test2", token)); 1076Assert.False(await manager.VerifyUserTokenAsync(user, "Static", "test", token + "a")); 1079Assert.False(await manager.VerifyUserTokenAsync(user2, "Static", "test", token)); 1696() => manager.VerifyUserTokenAsync(user, "bogus", "bogus", "bogus"));
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
716async () => await manager.VerifyUserTokenAsync(user, "bogus", null, null)); 1127async () => await manager.VerifyUserTokenAsync(null, null, null, null));
Microsoft.Extensions.Identity.Core (4)
UserManager.cs (4)
884if (!await VerifyUserTokenAsync(user, Options.Tokens.PasswordResetTokenProvider, ResetPasswordTokenPurpose, token).ConfigureAwait(false)) 1359if (!await VerifyUserTokenAsync(user, Options.Tokens.EmailConfirmationTokenProvider, ConfirmEmailTokenPurpose, token).ConfigureAwait(false)) 1414if (!await VerifyUserTokenAsync(user, Options.Tokens.ChangeEmailTokenProvider, GetChangeEmailTokenPurpose(newEmail), token).ConfigureAwait(false)) 1534return VerifyUserTokenAsync(user, Options.Tokens.ChangePhoneNumberTokenProvider, ChangePhoneNumberTokenPurpose + ":" + phoneNumber, token);