using System; using System.Security.Principal; namespace MvcMovie.Models { public class AppUser : IIdentity { public Guid Id { get; set; } = Guid.NewGuid(); public string UserName { get; set; } public string Email { get; set; } public bool EmailConfirmed { get; set; } public string PasswordHash { get; set; } public string NormalizedUserName { get; internal set; } public string AuthenticationType { get; set; } public bool IsAuthenticated { get; set; } public string Name { get; set; } public bool EnforceChangePassword { get; set; } } }