0
public partial class Startup
{
public void ConfigureAuth(IAppBuilder app)
{
app.UseMicrosoftAccountAuthentication(
clientId: "",
clientSecret: "");
app.UseTwitterAuthentication(
consumerKey: "",
consumerSecret: "");
app.UseFacebookAuthentication(
appId: "",
appSecret: "");
app.UseGoogleAuthentication(
clientId: "",
clientSecret: "");
}
}
此代码是asp.net mvc5模板的默认生成代码。从数据库动态配置外部登录凭证asp.net mvc
如何使上述功能可配置(可能来自管理面板界面)?