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

    See Also