Class PnPContextFactoryOptions
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
DefaultAuthenticationProvider
The Default Authentication Provider configuration
public IAuthenticationProvider DefaultAuthenticationProvider { get; set; }
Property Value
GraphAlwaysUseBeta
If true than all requests to Microsoft Graph use the beta endpoint
public bool GraphAlwaysUseBeta { get; set; }
Property Value
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
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; }