Download the PHP package rain_sunshine_cloud/jwt_token without Composer
On this page you can find all versions of the php package rain_sunshine_cloud/jwt_token. 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 jwt_token
这是一个JWT的封装类
用法
更新点
- 采用单例模式
- 采用内部自行判断是否为第一次encode(有一次decode则为不是第一次encode)
- 数据自行添加,不是encode时再添加,setPayload addPayload setPriPayload addPriPayload
注意点
- 使用单例模式,直接内部自行判断是否为第一次颁发token
- refreshtime 是自登陆后到refresh有效期到达的时间
- endtime 是自该token发出到expire有效期到达的时间
- refreshtime >= endtime >= starttime
- encode 第二个参数为私有参数加密,即进行对称加密
All versions of jwt_token with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package rain_sunshine_cloud/jwt_token contains the following files
Loading the files please wait ....