【发布时间】:2015-12-02 12:31:10
【问题描述】:
我们之前用过
app.UseWindowsAzureActiveDirectoryBearerAuthentication(
new WindowsAzureActiveDirectoryBearerAuthenticationOptions
{
Audience = ConfigurationManager.AppSettings["ida:Audience"],
Tenant = ConfigurationManager.AppSettings["ida:Tenant"],
});
向 Azure 进行身份验证。问题是今天我们升级到了ASP.NET 5 RC1-FINAL,现在这个方法已经不存在了。
我已经在网上搜索了其他解决方案,但我发现的解决方案是使用一些 3rd 部分身份服务或 .UseOAuthBearerAuthentication,这在 RC1-Final 中不可用。
【问题讨论】:
标签: azure asp.net-web-api2 asp.net-core