Auto-commit 2026-04-29 16:31
This commit is contained in:
22
node_modules/jwks-rsa/src/index.js
generated
vendored
Normal file
22
node_modules/jwks-rsa/src/index.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
const { JwksClient } = require('./JwksClient');
|
||||
const errors = require('./errors');
|
||||
const { hapiJwt2Key, hapiJwt2KeyAsync } = require('./integrations/hapi');
|
||||
const { expressJwtSecret } = require('./integrations/express');
|
||||
const { koaJwtSecret } = require('./integrations/koa');
|
||||
const { passportJwtSecret } = require('./integrations/passport');
|
||||
|
||||
module.exports = (options) => {
|
||||
return new JwksClient(options);
|
||||
};
|
||||
module.exports.JwksClient = JwksClient;
|
||||
|
||||
module.exports.ArgumentError = errors.ArgumentError;
|
||||
module.exports.JwksError = errors.JwksError;
|
||||
module.exports.JwksRateLimitError = errors.JwksRateLimitError;
|
||||
module.exports.SigningKeyNotFoundError = errors.SigningKeyNotFoundError;
|
||||
|
||||
module.exports.expressJwtSecret = expressJwtSecret;
|
||||
module.exports.hapiJwt2Key = hapiJwt2Key;
|
||||
module.exports.hapiJwt2KeyAsync = hapiJwt2KeyAsync;
|
||||
module.exports.koaJwtSecret = koaJwtSecret;
|
||||
module.exports.passportJwtSecret = passportJwtSecret;
|
||||
Reference in New Issue
Block a user