摘要: 添加身份认证中间件 app.UseRouting(); // 身份认证中间件 app.UseAuthentication(); app.UseEndpoints(endpoints => { //省略... }); UseAuthentication一定要放在UseRouting和UseEndpoi 阅读全文
posted @ 2020-03-02 15:01 .Neterr 阅读(300) 评论(0) 推荐(0) 编辑