有一些使用ASP .Net Core 2在MVC上使用Azure AD B2C的站点的正确 Startup.cs 内容示例,以及使用Azure AD B2C在.Net Core中实现Web API的其他示例 . 它们是不同的 .
Startup.cs
我可以在同一个Web应用程序上实现这两个吗?如果是这样,startup.cs看起来像什么?
对的,这是可能的 . Startup.cs 将具有两种身份验证配置 .
见Dotnet core 2.0 authentication multiple schemas identity cookies and jwt
1 回答
对的,这是可能的 .
Startup.cs
将具有两种身份验证配置 .见Dotnet core 2.0 authentication multiple schemas identity cookies and jwt