代码改变世界

随笔档案-2022年12月

asp.netcore Authentication, schema

2022-12-28 14:29 by qgbo, 393 阅读, 收藏, 编辑
摘要: 1. code like this will report error: builder.Services.AddAuthentication("dd").AddCookie("ddd"); builder.Services.AddAuthorization(); InvalidOperationE 阅读全文

asp.netcore Authentication

2022-12-21 14:23 by qgbo, 16 阅读, 收藏, 编辑
摘要: Authentication is for getting the user infomation from cookie/token.. We use Authentication like this: builder.Services.AddAuthentication("cookie") .A 阅读全文
点击右上角即可分享
微信分享提示