public Task <string> GenerateAsync(string purpose, Microsoft.AspNet.Identity.UserManager <User, int> manager, User user) { return(Task.FromResult(manager.GenerateUserToken("ChangePassword", user.Id))); }