SnowflakeAuthenticationType Enumeration
On this page
Specifies the authentication method used to connect to Snowflake. Set it with the
Authentication Type connection string parameter.
Syntax
Members
| Member | Description |
| Basic | Signs 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. |
| KeyPair | Signs in with an RSA key pair: the provider signs a JSON Web Token with the private key of the user. |
| OAuth2 | Signs 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. |
| OAuth2Interactive | Signs 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