How to confirm a phone number in ASP.Net Core 1.1MVC
问题 I cannot figure out how to do a phone number confirmation in asp.net core 1.1 Identity service configuration contains explicit options to require confirmed email and/or phone number. It can be done the following way: services .AddIdentity<User, Role>(options => { options.SignIn.RequireConfirmedEmail = true; options.SignIn.RequireConfirmedPhoneNumber = true; }); The validation of the email is quite straight forward as the UserManager contains explicit token generator and its validator: var