在Logic App的http连接器中是否有AAD身份验证的规定?

时间:2016-05-03 08:54:16

标签: azure-logic-apps

Logic App的http连接器中是否有AAD身份验证规定? 如果是这样,身份验证对象将如何显示?

或者我是否必须单独获取AAD令牌,然后在http连接器的标题部分填充相同内容?

1 个答案:

答案 0 :(得分:1)

逻辑应用程序本机支持ActiveDirectoryOAuth身份验证,使用客户端密钥或证书+密码

以下是

的模式
    "simpleAction": {
      "type": "http",
      "inputs": {
        "uri": "https://www.endpoint.com/certificate",
        "method": "GET",
        "authentication": {
          "type": "ActiveDirectoryOAuth",
          "authority": "",
          "tenant": "",
          "audience": "",
          "clientId": "",
          "pfx": "",
          "password": ""
        }
      },
    },
    "simpleAction2": {
      "type": "http",
      "inputs": {
        "uri": "https://www.endpoint.com/secret",
        "method": "GET",
        "authentication": {
          "type": "ActiveDirectoryOAuth",
          "authority": "",
          "tenant": "",
          "audience": "",
          "clientId": "",
          "secret": ""
        }
      },
    }

这与Azure Scheduler authenticatin对象类似,此处将对此进行说明 https://azure.microsoft.com/en-us/documentation/articles/scheduler-outbound-authentication/#request-body-for-activedirectoryoauth-authentication