<commit_before>var jwt = require('jsonwebtoken');

var AuthEngine = function (options) {};

AuthEngine.prototype.verifyToken = function (encryptedToken, key, callback) {
  var self = this;
  if (encryptedToken) {
    jwt.verify(encryptedToken, key, callback);
  } else {
    callback(null);
  }
};

AuthEngine.prototype.signToken = function (token, key, options, callback) {
  var signedToken = jwt.sign(token, key, options);
  callback(null, signedToken);
};

module.exports.AuthEngine = AuthEngine;<commit_msg>No longer need this argument<commit_after>var jwt = require('jsonwebtoken');

var AuthEngine = function () {};

AuthEngine.prototype.verifyToken = function (encryptedToken, key, callback) {
  var self = this;
  if (encryptedToken) {
    jwt.verify(encryptedToken, key, callback);
  } else {
    callback(null);
  }
};

AuthEngine.prototype.signToken = function (token, key, options, callback) {
  var signedToken = jwt.sign(token, key, options);
  callback(null, signedToken);
};

module.exports.AuthEngine = AuthEngine;
{'fraction_non_alphanumeric': 0.13178294573643412, 'fraction_numerical': 0.0, 'mean_word_length': 4.971098265895954, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4581463', 'n_tokens_mistral': 321, 'n_tokens_neox': 319, 'n_words': 76}