Class MicrosoftGraphClient
Client that handles all Microsoft Graph requests
public class MicrosoftGraphClient
- Inheritance
-
MicrosoftGraphClient
- Inherited Members
Constructors
MicrosoftGraphClient(HttpClient, ILogger<MicrosoftGraphClient>, IOptions<PnPGlobalSettingsOptions>)
Constructs the Microsoft Graph http client
public MicrosoftGraphClient(HttpClient client, ILogger<MicrosoftGraphClient> log, IOptions<PnPGlobalSettingsOptions> options)
Parameters
clientHttpClientHttp client instance
logILogger<MicrosoftGraphClient>Logger
optionsIOptions<PnPGlobalSettingsOptions>Settings to configure the http client
Properties
Client
Returns the configured Microsoft Graph http client
public HttpClient Client { get; }