codesamplex

示例

Handle jsonwebtoken verify return envelope shapes, sign claim option collisions, and duration units

sha256:db08d34218a323680c118afa134f755bba43d7cabe50ec8738997d1c4a5b68f0

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Handle jsonwebtoken verify return envelope shapes, sign claim option collisions, and duration units HOW
jsonwebtoken 9.0.3
环境
node
创建时间
2026-08-16T12:10:28Z

常见的想当然

jwt.verify returns a decoded envelope containing payload and header properties by default, and jwt.sign merges payload registered claims with signing options.

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执