I'm using .NET Identity.
I am writing a function that receives a new email address in order to change the user's email.
I do not want to change it immediately, but to store the new email adress in another table and send a confirmation email for this address, so until the user confirms if the previous email is still active.
When he approves, I want the to change the user email address.
What I'm looking for is how to generate a token code to send with the email that expires as a password reset.
Is there such a thing by Identity ?