Comments (6)
@dongysh 具体你看下你的缓存用了文件缓存还是redis缓存?
from jwt-auth.
使用的是redis,下面是cache.php配置
return [
'default' => [
'driver' => Hyperf\Cache\Driver\RedisDriver::class,
'packer' => Hyperf\Utils\Packer\PhpSerializerPacker::class,
'prefix' => 'c:',
],
];
from jwt-auth.
@dongysh 你有打开黑名单吗?打开黑名单并且刷新过token才会有
from jwt-auth.
黑名单打开的,刷新了token,出现了redis数据,但是没看到原始token信息
我想知道下面这串token存在哪?目前我用的是hyperf2.0和jwt-auth2.0.1
{
"code": 0,
"msg": "获取token成功",
"data": {
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI1ZjQ1ZDFmOTM4Y2I3IiwiaWF0IjoxNTk4NDExMjU3LCJuYmYiOjE1OTg0MTEyNTcsImV4cCI6MTU5ODQxODQ1NywidWlkIjoxLCJ1c2VybmFtZSI6Inh4In0.17IeJtApWjrlAV4_IiKDvbBTuAQTfURVdfH_etxzmao"
}
}
from jwt-auth.
from jwt-auth.
好的,我看下,谢谢
from jwt-auth.
Related Issues (20)
- 无效的token,走到黑名单检测的时候。blacklist.php 第97行。出现undefined HOT 4
- Install of lcobucci/jwt,phper666/jwt-auth failed HOT 4
- 依赖的lcobucci/jwt版本,已经不支持php8,希望能支持下php8的版本 HOT 6
- Call to undefined method Lcobucci\\JWT\\Builder::identifiedBy() HOT 5
- Call to undefined method Lcobucci\\JWT\\Builder::identifiedBy HOT 1
- v4 版本中 no_check_route 该如何设置? HOT 9
- matchRoute在scene下,获取no_check_route错误 HOT 5
- 单点登录 为什么不好使? HOT 1
- 获取token报错 HOT 2
- 4.0.5 token 一直失效 HOT 5
- 偶发出现该问题 HOT 2
- Object of class Lcobucci\JWT\Token\Plain could not be converted to string[647] HOT 2
- JWTCommand.$name属性类型问题 HOT 1
- 发布4.0版本配置文件报错 HOT 2
- token 续签 HOT 2
- 4.0.8 JWTCommand::$name must not be defined HOT 5
- 多场景的使用问题 HOT 5
- 使用application场景 HOT 5
- Call to undefined function Phper666\JWTAuth\make() HOT 2
- jwt 配置无法读取apollo配置 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwt-auth.