Table of Contents

Class PnPContextFactoryOptions

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

Defines the options to configure the PnPContextFactory object

public class PnPContextFactoryOptions
Inheritance
PnPContextFactoryOptions
Inherited Members

Properties

Configurations

Collection of configurations for PnPContextFactory

public List<PnPContextFactoryOptionsConfiguration> Configurations { get; }

Property Value

List<PnPContextFactoryOptionsConfiguration>

DefaultAuthenticationProvider

The Default Authentication Provider configuration

public IAuthenticationProvider DefaultAuthenticationProvider { get; set; }

Property Value

IAuthenticationProvider

GraphAlwaysUseBeta

If true than all requests to Microsoft Graph use the beta endpoint

public bool GraphAlwaysUseBeta { get; set; }

Property Value

bool

GraphCanUseBeta

If true than the Graph beta endpoint is used when there's no other option, default approach stays using the v1 endpoint

public bool GraphCanUseBeta { get; set; }

Property Value

bool

GraphFirst

Controls whether the library will try to use Microsoft Graph over REST whenever that's defined in the model

public bool GraphFirst { get; set; }

Property Value

bool