【发布时间】:2016-12-26 20:20:55
【问题描述】:
我显然不想硬编码这些值,但我不确定如何在 Azure 中获取存储的值。
这就是我在本地为我在 ASP.NET Core 中的应用程序机密所做的事情......
app.UseGoogleAuthentication(new GoogleOptions()
{
ClientId = Configuration["Authentication:Google:ClientId"],
ClientSecret = Configuration["Authentication:Google:ClientSecret"]
});
【问题讨论】:
标签: azure authentication asp.net-core-mvc