关于express-jwt的完整示例吗? [英] Any complete example for express-jwt?

查看:133
本文介绍了关于express-jwt的完整示例吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Express节点应用程序中使用express-jwt,但找不到任何演示登录部分的示例.

I want to use express-jwt in my express node application but I can not find any examples which demonstrate signing-in part.

请帮忙吗?

推荐答案

这是被问到的,只是在这里答复是否可以帮助来这里搜索的人-可以在

This was asked way back, just replying here if that could help someone who comes here searching - good example of express-jwt can be found at

https://hptechblogs.com/using-json-web-认证令牌/

并且我还尝试了一些类似的实现,该实现可以在-

and I have also tried somewhat similar implementation which can be found at -

https://github .com/Abhay-Joshi-Git/jwt-node-react/blob/master/server/index.js

这篇关于关于express-jwt的完整示例吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆