<PackageReference Include="Microsoft.Identity.Client" Version="4.83.0" />

Microsoft.Identity.Client.IMsalHttpClientFactory

public interface IMsalHttpClientFactory
Factory responsible for creating HttpClient. See https://learn.microsoft.com/dotnet/api/system.net.http.httpclient?view=net-7.0#instancing for more details.

Method returning an HTTP client that will be used to communicate with Azure AD. This enables advanced scenarios. See https://aka.ms/msal-net-application-configuration.