dotConnect for Snowflake Documentation
Devart.Data.Snowflake Namespace / SnowflakeAuthenticationType Enumeration

On this page
    SnowflakeAuthenticationType Enumeration
    On this page
    Specifies the authentication method used to connect to Snowflake. Set it with the Authentication Type connection string parameter.
    Syntax
    'Declaration
     
    Public Enum SnowflakeAuthenticationType 
       Inherits System.Enum
       Implements System.IComparable, System.IConvertible, System.IFormattable 
    public enum SnowflakeAuthenticationType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
    Members
    MemberDescription
    BasicSigns in with the user name and a programmatic access token (PAT) or a password, specified in the Password connection string parameter. A password works only if the user isn't required to use multi-factor authentication. In the connection dialogs, this value is shown as Programmatic Access Token. This is the default value.
    KeyPairSigns in with an RSA key pair: the provider signs a JSON Web Token with the private key of the user.
    OAuth2Signs in with an OAuth 2.0 refresh token issued by a Snowflake OAuth security integration. The provider never opens a browser for this value: an empty Refresh Token causes an error.
    OAuth2InteractiveSigns in as OAuth2. If Refresh Token is empty and the application can show a browser, the provider first opens the browser to sign in to Snowflake and puts the refresh token it gets into the connection string; the authentication type stays OAuth2Interactive. In a process that can't show a browser, an empty Refresh Token causes an error. In the connection dialogs, this value is shown as OAuth 2.0.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Devart.Data.Snowflake.SnowflakeAuthenticationType

    See Also