Partager via


ConnectionOptions Class

Definition

Describes connection Options for the Dataverse ServiceClient

public class ConnectionOptions
type ConnectionOptions = class
Public Class ConnectionOptions
Inheritance
ConnectionOptions

Constructors

ConnectionOptions()

Properties

AccessTokenProviderFunctionAsync

Function that Dataverse ServiceClient will call to request an access token for a given connection.

AuthenticationType

Defines which type of login will be used to connect to Dataverse

CertificateStoreName

Certificate store name to look up thumbprint. StoreName

CertificateThumbprint

Certificate ThumbPrint to use to lookup machine certificate to use for authentication.

ClientId

Client \ Application ID to be used when logging into Dataverse.

ClientSecret

Client Secret Id to use to login to Dataverse

Domain

User Domain to use - Use with Interactive Login for On Premises

HomeRealmUri

Home Realm to use when working with AD Federation.

Logger

ILogger Interface for Dataverse ServiceClient. ILogger

LoginPrompt

Type of Login prompt to use.

Password

User Password to use - Used with Interactive Login scenarios

RedirectUri

Redirect Uri to use when connecting to dataverse. Required for OAuth Authentication.

RequestAdditionalHeadersAsync

Function that Dataverse ServiceClient will call to request custom headers

RequireNewInstance

Require a unique instance of the Dataverse ServiceClient per Login.

ServiceUri

URL of the Dataverse Instance to connect too.

SkipDiscovery

Skip discovery leg when connecting to Dataverse

TokenCacheStorePath

Path and FileName for MSAL Token Cache. Used only for OAuth - User Interactive flows.

UseCurrentUserForLogin

(Windows Only) If True, Uses the current user of windows to attempt the login with

UserName

User Name to use - Used with Interactive Login scenarios

Applies to