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
如何使上述功能可配置(可能來自管理面板界面)?