JWT 解析器
解析 JWT 令牌并提取所有带有人类可读标签的声明。自动将时间戳转换为日期并检查过期状态。
JWT 声明参考
注册声明 (RFC 7519)
| Claim | Name | Type | Description |
|---|---|---|---|
| iss | Issuer | String | Entity that issued the JWT |
| sub | Subject | String | Subject of the JWT (usually user ID) |
| aud | Audience | String/Array | Intended recipient(s) of the JWT |
| exp | Expiration | Number | Unix timestamp when token expires |
| nbf | Not Before | Number | Unix timestamp before which token is invalid |
| iat | Issued At | Number | Unix timestamp when token was created |
| jti | JWT ID | String | Unique identifier for the token |
公共声明 (OpenID Connect)
| Claim | Name | Standard |
|---|---|---|
| name | Full Name | OpenID Connect Core |
| OpenID Connect Core | ||
| email_verified | Email Verified | OpenID Connect Core |
| azp | Authorized Party | OpenID Connect Core |
| nonce | Nonce | OpenID Connect Core |
| at_hash | Access Token Hash | OpenID Connect Core |
| auth_time | Auth Time | OpenID Connect Core |
| acr | Authentication Context | OpenID Connect Core |
| amr | Authentication Methods | OpenID Connect Core |
私有声明
由应用程序定义的自定义声明。这些声明未注册或标准化,用于在同意使用它们的各方之间共享信息。示例:role, permissions, tenant_id 等。
常见问题
相关 JWT 工具
评价此工具
4.0 / 5 · 214 人评价
Recommended
CloudflareFree CDN & DDoS protection保持更新
获取每周开发技巧和新工具通知。
无垃圾邮件,随时退订。
Enjoy these free tools?
☕Buy Me a Coffee