(cause: unknown)
| 65 | const isErrorWithCode = Schema.is(ErrorWithCode); |
| 66 | |
| 67 | const isJwksNoMatchingKey = (cause: unknown): boolean => |
| 68 | isErrorWithCode(cause) && cause.code === JWKSNoMatchingKey.code; |
| 69 | |
| 70 | interface CacheEntry { |
| 71 | jwks: JSONWebKeySet; |