Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

token过期之后,
用refreshToken怎么生成新的token和refreshToken,jwt.decode(refreshToken)之后倒是可以拿到用户的ID,
之后应该怎么做?
去数据库查询对应的账号密码吗?
JWT中有使用有效token再生成token的方法吗?

就是说 前端传过来 refreshToken,再次生成token所需要的 用户名和密码是怎么来的


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

再次生成token所需要的用户名和密码是怎么来的

生成 Token 为啥要用户名和密码?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...