f21/jwt
最新稳定版本:2.0
Composer 安装命令:
composer require f21/jwt
包简介
JWT (JSON Web Tokens) for PHP
关键字:
README 文档
README
A PHP library for encoding and decoding JSON Web Tokens.
Deprecration Notice
This project is no longer being actively maintained. Please consider switching to lcobucci/jwt or one of the PHP libraries listed on jwt.io.
Important security notice
Thanks to Toshiharu Sugiyama!
Please upgrade to 2.0 as soon as possible as previous versions are susceptible to verification bypass attacks if the same public key is used for signing when using asymmetric and symmetric algorithms.
This is a release breaks backwards compatibility because you now need to pass in the decoding algorithm when decoding in order to verify the JWT.
For more information see: JVN#06120222 at jpcert.or.jp
Supported Algorithms
HMAC
- HS256 - HMAC using SHA-256 hash algorithm (default)
- HS384 - HMAC using SHA-384 hash algorithm
- HS512 - HMAC using SHA-512 hash algorithm
RSA (Public Key/Private Key pair)
- RS256 - RSA using SHA-256 hash algorithm
- RS384 - RSA using SHA-384 hash algorithm
- RS512 - RSA using SHA-512 hash algorithm
统计信息
- 总下载量: 9.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 32
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-11