<PackageReference Include="NETStandard.Library" Version="2.0.0" />

System.Security.Principal.IIdentity

public interface IIdentity
namespace System.Security.Principal { public interface IIdentity { string AuthenticationType { get; } bool IsAuthenticated { get; } string Name { get; } } }