snowflake-sdk
Version:
Node.js driver for Snowflake
31 lines (30 loc) • 619 B
TypeScript
export = AuthDefault;
/**
* Creates a default authenticator.
*
* @param {String} password
*
* @returns {Object}
* @constructor
*/
declare function AuthDefault(connectionConfig: any): Object;
declare class AuthDefault {
/**
* Creates a default authenticator.
*
* @param {String} password
*
* @returns {Object}
* @constructor
*/
constructor(connectionConfig: any);
/**
* Update JSON body with password or token.
*
* @param {JSON} body
*
* @returns {null}
*/
updateBody: (body: JSON) => null;
authenticate: () => Promise<void>;
}