Check out example codes for "asp net identity login failed for user". It will help you in understanding the concepts better.

Code Example 1

await _userManager.IsEmailConfirmedAsync(user);
await _userManager.IsPhoneNumberConfirmedAsync(user);

Code Example 2

var user = await _userManager.FindByNameAsync(loginViewModel.UserName);

Learn ReactJs, React Native from akashmittal.com