Download the PHP package topphp/topphp-jwt without Composer
On this page you can find all versions of the php package topphp/topphp-jwt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package topphp-jwt
topphp-jwt
这是一个JWT工具,Json Web Token 跨语言支持的无状态web数据传输标准。常应用于登录验证。
包含方法
- JwtHelper::handler();// 返回原始JWT对象句柄
- JwtHelper::generateToken($id,$data,$expTime,$fromUrl,$toUrl);// 生成Token(支持设置过期时间与设置-1永久不过期以及校验签发者URL与接受者URL)
- JwtHelper::generateRefreshToken($id,$data,$fromUrl,$toUrl);// 生成带有refreshToken的Token集合
- JwtHelper::verifyToken($token,$isAll,$allowUrl);// 验证Token,支持返回原始全部JWT数据与校验签发者URL
- JwtHelper::refreshToken($refreshToken,$data);// 根据refreshToken刷新Token,支持更新data中的数据
- JwtHelper::refreshAllToken($refreshToken,$data);// 根据refreshToken刷新Token,返回值包含新的refreshToken,支持更新data中的数据
组件结构
安装
用法
修改日志
有关最近更改的内容的详细信息,请参阅更改日志(CHANGELOG)。
测试
贡献
详情请参阅贡献(CODE_OF_CONDUCT)。
安全
如果您发现任何与安全相关的问题,请发送电子邮件至[email protected],而不要使用问题跟踪器。
信用
许可证
The MIT License (MIT). Please see License File for more information.
All versions of topphp-jwt with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-openssl Version *
ext-mbstring Version *
lcobucci/jwt Version ^3.3
ext-json Version *
ext-openssl Version *
ext-mbstring Version *
lcobucci/jwt Version ^3.3
ext-json Version *
The package topphp/topphp-jwt contains the following files
Loading the files please wait ....