audiobookshelf/server/libs/jsonwebtoken/index.js

18 lines
450 B
JavaScript
Raw Permalink Normal View History

2022-07-07 01:45:43 +02:00
//
// 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'),
});