我正在使用 azure 访问控制服务 (ACS)。我正在尝试获取为我的应用程序选择的身份提供者列表。为此,我从这里使用以下代码:
public ActionResult IdentityProviders(string serviceNamespace, string appId)
{
string idpsJsonEndpoint = string.Format(IdentityProviderJsonEndpoint, serviceNamespace, appId);
var client = new WebClient();
var data = client.DownloadData(idpsJsonEndpoint);
return Content(Encoding.UTF8.GetString(data), "application/json");
}
谁能告诉我什么是 appId 以及我在哪里得到它?