Skip to content

Commit

Permalink
docs: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
natesilva committed Mar 12, 2021
1 parent b6a50d5 commit 29e025f
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/types/ConnectionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@ export interface ConnectionOptions {
/**
* Specifies the authenticator to use for verifying user login credentials.
* You can set this to one of the following values:
* SNOWFLAKE: Use the internal Snowflake authenticator. You must also set the password option.
* EXTERNALBROWSER: Use your web browser to authenticate with Okta, ADFS, or any other
* SAML 2.0-compliant identity provider (IdP) that has been defined for your account
* OAUTH: Use OAuth for authentication. You must also set the token option to the OAuth token
* SNOWFLAKE_JWT: Use key pair authentication
*
* * `SNOWFLAKE`: Use the internal Snowflake authenticator. You must also set the
* password option.
*
* * `EXTERNALBROWSER`: Use your web browser to authenticate with Okta, ADFS, or any
* other SAML 2.0-compliant identity provider (IdP) that has been defined for your
* account
*
* * `OAUTH`: Use OAuth for authentication. You must also set the token option to the
* OAuth token
*
* * `SNOWFLAKE_JWT`: Use key pair authentication
*/
/** 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 for the user. Set this option if you set the authenticator option to
* SNOWFLAKE or if you left the authenticator option unset.
*/
password?: string;
/** Specifies the OAuth token to use for authentication. */
Expand Down

0 comments on commit 29e025f

Please sign in to comment.