feat: change authenticator type to string union

This commit is contained in:
Nate Silva 2021-03-12 12:17:47 -08:00
parent 3f4e815454
commit b6a50d5e07

View File

@ -19,9 +19,9 @@ export interface ConnectionOptions {
* OAUTH: Use OAuth for authentication. You must also set the token option to the OAuth token
* SNOWFLAKE_JWT: Use key pair authentication
*/
authenticator?: string;
/** Password for the user. Set this option if you set the authenticator option to
* SNOWFLAKE or if you left the authenticator option unset.
authenticator?: "SNOWFLAKE" | "EXTERNALBROWSER" | "OAUTH" | "SNOWFLAKE_JWT";
*/
password?: string;
/** Specifies the OAuth token to use for authentication. */