snowflake-sdk
Version:
Node.js driver for Snowflake
24 lines • 469 B
JavaScript
;
/**
* Creates an oauth authenticator.
*
* @param {String} token
*
* @returns {Object}
* @constructor
*/
function AuthOauth(token) {
/**
* Update JSON body with token.
*
* @param {JSON} body
*
* @returns {null}
*/
this.updateBody = function (body) {
body['data']['TOKEN'] = token;
};
this.authenticate = async function () { };
}
module.exports = AuthOauth;
//# sourceMappingURL=auth_oauth.js.map