vkoori/jwt
最新稳定版本:1.0.0
Composer 安装命令:
composer require vkoori/jwt
包简介
Integration of adhocore/jwt library for laravel/lumen.
README 文档
README
composer require vkoori/jwt
Doc
By using this library, in addition to the features of adhocore/jwt, you can also benefit from blacklist and refresh token.
You need to add the following to the env file:
JWT_BLACK_LIST=false
JWT_KEY=secret
JWT_ALGO=HS256
JWT_MAX_AGE=3600
JWT_LEEWAY=0
Sample
(new JWT)->encode(payload: [], header: []);
(new JWT)->decode(token: '', verify: true);
(new JWT)->refresh(token: '');
(new JWT)->expire(token: '');
| Powered By |
|---|
统计信息
- 总下载量: 795
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-03-23