在ASP网络中实现JWT令牌验证

时间:2019-12-11 08:34:18

标签: c# .net asp.net-mvc nestjs

我需要在几个动作上验证jwt令牌。该应用程序使用.NET Framework 4.5.1。令牌是在NestJs上的应用程序中生成的。 .Net应用程序将UseCookieAuthentication与自定义CookieAuthenticationOptions结合使用。我是.net的新手,您能告诉我从哪里开始,什么更好用吗?

1 个答案:

答案 0 :(得分:0)

要了解更多身份验证,请阅读以下链接

JWT

JWT Authentication Tutorial with Example API