audiobookshelf/server/libs/jsonwebtoken/index.js
2022-07-06 18:45:43 -05:00

18 lines
450 B
JavaScript

//
// modified for use in audiobookshelf
// Source: https://github.com/auth0/node-jsonwebtoken
//
module.exports = {
verify: require('./verify'),
sign: require('./sign'),
JsonWebTokenError: require('./lib/JsonWebTokenError'),
NotBeforeError: require('./lib/NotBeforeError'),
TokenExpiredError: require('./lib/TokenExpiredError'),
};
Object.defineProperty(module.exports, 'decode', {
enumerable: false,
value: require('./decode'),
});