百科.dev
全部条目趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

node-jsonwebtoken

> 编程语言
开源

JsonWebToken实施 Node.js http://self-issued.info/docs/draft-itf-oauth-json-web-token.html 互联网档案馆的存檔,存档日期2013-12-21

18.2K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

JsonWebToken实施 Node.js http://self-issued.info/docs/draft-itf-oauth-json-web-token.html 互联网档案馆的存檔,存档日期2013-12-21

jsonwebtoken | Build Build Build Build Build Build | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (? JSON Web Tokens的执行。 这是针对草稿-itf-oauth-json-web-token-08开发的. 它使用节点-jws 安装 bash $npm 安装 jsonwebtoken 迁移笔记 从 v8 到 v9 从 v7 到 v8 Usage jwt. sign(活口,密钥, OrPrivateKey, [可选,回调]) (同步) 如果提供回调,则使用错误或JWT调用回调。 (韵出. 返回 JsonWebToken 作为字符串有效载荷可以是代表有效 JSON 的物体文字、缓冲或字符串。 请..

核心特点

  • •From v8 to v9
  • •From v7 to v8
  • •algorithm (default: HS256)
  • •expiresIn: expressed in seconds or a string describing a time span vercel/ms.
  • •notBefore: expressed in seconds or a string describing a time span vercel/ms.
  • •audience
  • •noTimestamp
  • •allowInsecureKeySizes: if true allows private keys with a modulus below 2048 to be used for RSA
  • •algorithms: List of strings with the names of the allowed algorithms. For instance, ["HS256", "HS384"].
  • •complete: return an object with the decoded { payload, header, signature } instead of only the usual content of the payload.

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
百科.dev

开发者百科,帮助你快速发现语言、框架、数据库、DevOps 与云原生等优质开发者工具。

快捷入口

  • 首页
  • 全部条目
  • 趋势榜
  • 开源项目

关于我们

  • 关于我们
  • 社区公约
  • 技术资讯

参与我们

发现好用的开发者工具?欢迎提交分享。

提交条目
© 2026 开发者百科 baike.dev数据每日更新 · 发现优质开发者工具