Code Monkey home page Code Monkey logo

Comments (6)

phper666 avatar phper666 commented on August 30, 2024

@dongysh 具体你看下你的缓存用了文件缓存还是redis缓存?

from jwt-auth.

dongysh avatar dongysh commented on August 30, 2024

使用的是redis,下面是cache.php配置

return [
'default' => [
'driver' => Hyperf\Cache\Driver\RedisDriver::class,
'packer' => Hyperf\Utils\Packer\PhpSerializerPacker::class,
'prefix' => 'c:',
],
];

from jwt-auth.

phper666 avatar phper666 commented on August 30, 2024

@dongysh 你有打开黑名单吗?打开黑名单并且刷新过token才会有

from jwt-auth.

dongysh avatar dongysh commented on August 30, 2024

黑名单打开的,刷新了token,出现了redis数据,但是没看到原始token信息

我想知道下面这串token存在哪?目前我用的是hyperf2.0和jwt-auth2.0.1

{
"code": 0,
"msg": "获取token成功",
"data": {
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI1ZjQ1ZDFmOTM4Y2I3IiwiaWF0IjoxNTk4NDExMjU3LCJuYmYiOjE1OTg0MTEyNTcsImV4cCI6MTU5ODQxODQ1NywidWlkIjoxLCJ1c2VybmFtZSI6Inh4In0.17IeJtApWjrlAV4_IiKDvbBTuAQTfURVdfH_etxzmao"
}
}

from jwt-auth.

phper666 avatar phper666 commented on August 30, 2024

from jwt-auth.

dongysh avatar dongysh commented on August 30, 2024

好的,我看下,谢谢

from jwt-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.