There are examples that use this:
string code = await UserManager.GenerateEmailConfirmationTokenAsync(user);
But that throws an error:
System.NotSupportedException: No IUserTokenProvider is registered.
What does this mean and how do I register an IUserTokenProvider?
Thank you.