摘要:
1. code like this will report error: builder.Services.AddAuthentication("dd").AddCookie("ddd"); builder.Services.AddAuthorization(); InvalidOperationE 阅读全文
随笔档案-2022年12月
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 阅读全文