Class MsalHttpClientFactory
Factory responsible for creating HttpClient as .NET recommends to use a single instance of HttpClient.
Inheritance
System.Object
MsalHttpClientFactory
Namespace: PnP.Core.Auth.Services.Http
Assembly: PnP.Core.Auth.dll
Syntax
public sealed class MsalHttpClientFactory : IMsalHttpClientFactory
Constructors
MsalHttpClientFactory(IHttpClientFactory)
Default Constructor
Declaration
public MsalHttpClientFactory(IHttpClientFactory httpClientFactory)
Parameters
IHttpClientFactory
httpClientFactory
Client factory that will handle the |
Methods
GetHttpClient()
Returns the configured
Declaration
public HttpClient GetHttpClient()
Returns
HttpClient
The configured |