文章分类 -  认证授权

摘要:总结上一节的内容 先从以下代码开始 builder.Services.AddAuthentication("Bearer").AddJwtBearer("Bearer", options => { options.Authority = "http://localhost:5100"; option 阅读全文
posted @ 2022-09-17 18:00 回到七点 阅读(178) 评论(0) 推荐(0)
摘要:认证 首先,先讲认证知识,话不多说,直接进入源码学习查看。 app.UseAuthentication();进入源码,路径(aspnetcore/src/Security/Authentication/Core/src/AuthAppBuilderExtensions.cs) 具体操作: 1、获取I 阅读全文
posted @ 2022-09-17 17:54 回到七点 阅读(241) 评论(0) 推荐(0)