使用jwt进行身份验证demo

render39860 28 0 ZIP 2020-12-22 09:12:12

获取token的地址:https://localhost:44309/Home/CreateToken?UserName=test&PassWord=test 验证可以使用postman访问:https://localhost:44309/Paging/AuthDemo 如果请求头没有auth或值不正确,将返回错误页面,如果正确则返回ok

用户评论
请输入评论内容
评分:
暂无评论