<PackageReference Include="System.Security.Claims" Version="4.0.1-beta-23409" />

GenericIdentity

Represents a generic user.
public GenericIdentity(string name)

Initializes a new instance of the GenericIdentity class representing the user with the specified name.

public GenericIdentity(string name, string type)

Initializes a new instance of the GenericIdentity class representing the user with the specified name and authentication type.

protected GenericIdentity(GenericIdentity identity)

Initializes a new instance of the GenericIdentity class by using the specified GenericIdentity object.