UNPKG

@southlane/cognito-jwt-verifier

Version:

Decode and verify JWT tokens issued by AWS Cognito.

14 lines (10 loc) 316 B
'use strict' class JwksNoMatchingKeyError extends Error { constructor(originalError) { super(`Cannot find matching key in key set`) this.name = this.constructor.name this.originalError = originalError Error.captureStackTrace(this, this.constructor) } } module.exports = JwksNoMatchingKeyError