UNPKG

@southlane/cognito-jwt-verifier

Version:

Decode and verify JWT tokens issued by AWS Cognito.

13 lines (9 loc) 260 B
'use strict' class JwksFetchError extends Error { constructor(message) { super(`Failed to fetch key set JSON: ${message}`) this.name = this.constructor.name Error.captureStackTrace(this, this.constructor) } } module.exports = JwksFetchError