Search Results for

    Show / Hide Table of Contents

    Class PnPContextFactoryOptions

    Defines the options to configure the PnPContextFactory object

    Inheritance
    System.Object
    PnPContextFactoryOptions
    Namespace: PnP.Core.Services
    Assembly: PnP.Core.dll
    Syntax
    public class PnPContextFactoryOptions : object

    Properties

    Configurations

    Collection of configurations for PnPContextFactory

    Declaration
    public List<PnPContextFactoryOptionsConfiguration> Configurations { get; }
    Property Value
    List<PnPContextFactoryOptionsConfiguration>

    DefaultAuthenticationProvider

    The Default Authentication Provider configuration

    Declaration
    public IAuthenticationProvider DefaultAuthenticationProvider { get; set; }
    Property Value
    IAuthenticationProvider

    GraphAlwaysUseBeta

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

    Declaration
    public bool GraphAlwaysUseBeta { get; set; }
    Property Value
    System.Boolean

    GraphCanUseBeta

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

    Declaration
    public bool GraphCanUseBeta { get; set; }
    Property Value
    System.Boolean

    GraphFirst

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

    Declaration
    public bool GraphFirst { get; set; }
    Property Value
    System.Boolean

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer