Table of Contents

Class MicrosoftGraphClient

Namespace
PnP.Core.Services
Assembly
PnP.Core.dll

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

client HttpClient

Http client instance

log ILogger<MicrosoftGraphClient>

Logger

options IOptions<PnPGlobalSettingsOptions>

Settings to configure the http client

Properties

Client

Returns the configured Microsoft Graph http client

public HttpClient Client { get; }

Property Value

HttpClient