dotConnect for Salesforce Marketing Cloud Documentation
Devart.Data.ExactTarget Namespace / AuthenticationType Enumeration

AuthenticationType Enumeration
Determines the authentication method to use for connecting to ExactTarget: username/password or app center client.
Syntax
'Declaration
 
Public Enum AuthenticationType 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
 
Members
MemberDescription
AppCenterClient

App center client authentication. You need to set ExactTargetConnectionStringBuilder.AppClientId and ExactTargetConnectionStringBuilder.AppClientSecret for this kind of authentication.

This authentication is deprecated, and it is supported only for legacy packages. Since August 1, 2019, Marketing Cloud has removed the ability to create legacy packages, so any new packages are enhanced packages, not legacy packages, and they cannot use the App Center Client authentication. You can use this authentication only if you have a legacy package, created before August 1, 2019.

RefreshToken

OAuth authentication. You need to set ExactTargetConnectionStringBuilder.AppClientId, ExactTargetConnectionStringBuilder.AppClientSecret, ExactTargetConnectionStringBuilder.Subdomain, and ExactTargetConnectionStringBuilder.RefreshToken for this kind of authentication.

ServerToServer

Server to Server authentication - available for packages with Server to Server integration enabled. You need to set ExactTargetConnectionStringBuilder.AppClientId, ExactTargetConnectionStringBuilder.AppClientSecret, and ExactTargetConnectionStringBuilder.Subdomain for this kind of authentication.

UserNamePasswordUsername/password authentication. You need to set the ExactTargetConnectionStringBuilder.Url, ExactTargetConnectionStringBuilder.User, and ExactTargetConnectionStringBuilder.Password properties for this kind of authentication.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Devart.Data.ExactTarget.AuthenticationType

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also