UNPKG

jwks-rsa

Version:

Library to retrieve RSA public keys from a JWKS endpoint

11 lines (9 loc) 293 B
function JwksError(message) { Error.call(this, message); Error.captureStackTrace(this, this.constructor); this.name = 'JwksError'; this.message = message; } JwksError.prototype = Object.create(Error.prototype); JwksError.prototype.constructor = JwksError; module.exports = JwksError;