Table of Contents

Class PnPCoreAuthenticationCredentialConfigurationOptions

Namespace
PnP.Core.Auth.Services.Builder.Configuration
Assembly
PnP.Core.Auth.dll

Options for one configured credentials

public class PnPCoreAuthenticationCredentialConfigurationOptions
Inheritance
PnPCoreAuthenticationCredentialConfigurationOptions
Inherited Members

Properties

AzureADLoginAuthority

Returns the Azure AD Login authority (e.g. login.microsoftonline.com) to use when Environment is set to Custom

public string AzureADLoginAuthority { get; set; }

Property Value

string

ClientId

The ClientId of the application to use for authentication

public string ClientId { get; set; }

Property Value

string

CredentialManager

The options for the Credential Manager Authentication Provider

public PnPCoreAuthenticationCredentialManagerOptions CredentialManager { get; set; }

Property Value

PnPCoreAuthenticationCredentialManagerOptions

DeviceCode

The options for the Device Code Provider

public PnPCoreAuthenticationDeviceCodeOptions DeviceCode { get; set; }

Property Value

PnPCoreAuthenticationDeviceCodeOptions

Environment

The Microsoft 365 cloud environment that's used

public Microsoft365Environment? Environment { get; set; }

Property Value

Microsoft365Environment?

Interactive

The options for the Interactive Authentication Provider

public PnPCoreAuthenticationInteractiveOptions Interactive { get; set; }

Property Value

PnPCoreAuthenticationInteractiveOptions

OnBehalfOf

The options for the On Behalf Of Authentication Provider

public PnPCoreAuthenticationOnBehalfOfOptions OnBehalfOf { get; set; }

Property Value

PnPCoreAuthenticationOnBehalfOfOptions

TenantId

The Tenant ID for the application, can be null

public string TenantId { get; set; }

Property Value

string

UsernamePassword

The options for the Username and Password Authentication Provider

public PnPCoreAuthenticationUsernamePasswordOptions UsernamePassword { get; set; }

Property Value

PnPCoreAuthenticationUsernamePasswordOptions

X509Certificate

The options for the X509 Certificate Authentication Provider

public PnPCoreAuthenticationX509CertificateOptions X509Certificate { get; set; }

Property Value

PnPCoreAuthenticationX509CertificateOptions