(cause: unknown)
| 134 | const isErrorWithCode = Schema.is(ErrorWithCode); |
| 135 | |
| 136 | const isJwksNoMatchingKey = (cause: unknown): boolean => |
| 137 | isErrorWithCode(cause) && cause.code === JWKSNoMatchingKey.code; |
| 138 | |
| 139 | interface CacheEntry { |
| 140 | jwks: JSONWebKeySet; |