dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / AuthenticationType Enumeration

In This Topic
    AuthenticationType Enumeration
    In This Topic
    Determines the authentication method to use when connecting to Salesforce.
    Syntax
    'Declaration
     
    Public Enum AuthenticationType 
       Inherits System.Enum
       Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
    public enum AuthenticationType : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
    Members
    MemberDescription
    AccessRefreshTokenThe OAuth 2.0 refresh token is used for connecting to Salesforce. When you use this authentication method, you need to specify the SalesforceConnectionStringBuilder.RefreshToken connection string parameter for the connection.
    SessionIdThe session ID authorization is used. When you use this authentication method, you need to specify the SalesforceConnectionStringBuilder.SessionId connection string parameter for the connection.
    UserNamePasswordThe SalesforceConnection sends SalesforceConnection.UserId, SalesforceConnection.Password, and SalesforceConnection.SecurityToken for authentication.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Devart.Data.Salesforce.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