摘要: 要达到最初的设想,需在 Program.cs中启用认证中间件服务 : app.UseAuthentication(); 同时给 builder.Services.AddAuthentication( ) 处理程序设置对应的方案,如下(红色部分代码): using Microsoft.AspNetCo 阅读全文
posted @ 2022-07-07 00:40 屏风马 阅读(2265) 评论(1) 推荐(0) 编辑