查询授权信息
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询授权信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/appsquare/orch/api/v1/tool/providers/auth</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
&quot;toolProviderId&quot;:1000005,//工具供应商id
&quot;scope&quot;:&quot;APP&quot;,// 应用范围 下面三个id根据scope传
&quot;appId&quot;:&quot;2d4114902a454449ad45edc15e596e791&quot;,
&quot;projectId&quot;:&quot;&quot;,
&quot;tenantId&quot;:&quot;&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code> {
&quot;success&quot;: true,
&quot;code&quot;: &quot;1&quot;,
&quot;message&quot;: &quot;处理成功&quot;,
&quot;traceId&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;needAuth&quot;: true,//是否需要授权
&quot;credentials&quot;: [
{
&quot;name&quot;: &quot;appId&quot;,
&quot;type&quot;: &quot;String&quot;,
&quot;title&quot;: &quot;应用id&quot;,
&quot;required&quot;: true,
&quot;position&quot;: null,
&quot;visible&quot;: null,
&quot;defaultValue&quot;: null,
&quot;inputWay&quot;: null
},
{
&quot;name&quot;: &quot;keySecret&quot;,
&quot;type&quot;: &quot;String&quot;,
&quot;title&quot;: &quot;密钥&quot;,
&quot;required&quot;: true,
&quot;position&quot;: null,
&quot;visible&quot;: null,
&quot;defaultValue&quot;: null,
&quot;inputWay&quot;: null
}
]
}
}</code></pre>