Skip to content

Commit

Permalink
feat: change authenticator type to string union
Browse files Browse the repository at this point in the history
  • Loading branch information
natesilva committed Mar 12, 2021
1 parent 3f4e815 commit b6a50d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/ConnectionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit b6a50d5

Please sign in to comment.