'Declaration Public Enum AuthenticationType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum AuthenticationType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum AuthenticationType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum AuthenticationType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
RefreshToken | OAuth 2.0 authentication. You need to specify the DynamicsConnectionStringBuilder.Server, DynamicsConnectionStringBuilder.RefreshToken, DynamicsConnectionStringBuilder.ClientId, and DynamicsConnectionStringBuilder.ClientSecret parameters for this kind of authentication. The easiest way to use it is to create a connection at design time in Server Explorer. In this case you may omit specifying the Client ID and Client Secret and obtain the Refresh Token simply by signing in to Dynamics CRM at design time. |
UserNamePassword | Username/password authentication. You need to set the DynamicsConnectionStringBuilder.Server, DynamicsConnectionStringBuilder.UserId, and DynamicsConnectionStringBuilder.Password properties for this kind of authentication. |
System.Object
System.ValueType
System.Enum
Devart.Data.Dynamics.AuthenticationType
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