重新封装代码

This commit is contained in:
2026-09-09 22:33:09 +08:00
parent 51c41e8fb7
commit 52ceba6e6d
100 changed files with 9828 additions and 89 deletions
+13
View File
@@ -0,0 +1,13 @@
var JsonWebTokenError = require('./JsonWebTokenError');
var NotBeforeError = function (message, date) {
JsonWebTokenError.call(this, message);
this.name = 'NotBeforeError';
this.date = date;
};
NotBeforeError.prototype = Object.create(JsonWebTokenError.prototype);
NotBeforeError.prototype.constructor = NotBeforeError;
module.exports = NotBeforeError;