What is the purpose of UserManager methods like GetPhoneNumberAsync(IdentityUser user), when the desired properties can be pulled from user object?

I’m trying to understand some of the logic behind the ASP.Net Core Identity UI views. For example, Account\Manage\Index.cshtml.cs includes the following code: private async Task LoadAsync(IdentityUser user) { var userName = await _userManager.GetUserNameAsync(user); var phoneNumber = await _userManager.GetPhoneNumberAsync(user); Username = userName; Input = new InputModel { PhoneNumber = phoneNumber }; } Why is the call…

Details