<PackageReference Include="System.ServiceModel.Primitives" Version="6.2.0" />

System.ServiceModel.Security.Tokens.SspiSecurityToken

public bool AllowNtlm { get; }

public bool AllowUnauthenticatedCallers { get; }

public bool ExtractGroupsForWindowsAccounts { get; }

public SspiSecurityToken(TokenImpersonationLevel impersonationLevel, bool allowNtlm, NetworkCredential networkCredential)

public SspiSecurityToken(NetworkCredential networkCredential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers)