bot18
Version:
A high-frequency cryptocurrency trading bot by Zenbot creator @carlos8f
25 lines (17 loc) • 453 B
JavaScript
var inherits = require('node-xmpp-core').inherits
var Mechanism = require('./mechanism')
/**
* @see http://xmpp.org/extensions/xep-0178.html
*/
function External () {}
inherits(External, Mechanism)
External.prototype.name = 'EXTERNAL'
External.prototype.auth = function () {
return (this.authzid)
}
External.prototype.match = function (options) {
if (options.credentials) return true
return false
}
module.exports = External