共用方式為


IMsalHttpClientFactory.GetHttpClient Method

Definition

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.

public System.Net.Http.HttpClient GetHttpClient ();
abstract member GetHttpClient : unit -> System.Net.Http.HttpClient
Public Function GetHttpClient () As HttpClient

Returns

An HTTP client.

Applies to