查询认证源
更新时间:2020-07-09
接口描述
本接口用于通过id查询认证源
请求结构
GET /v{version}/provider/{providerId} HTTP/1.1
Host: idaas.baidubce.com
Authorization: authorization string
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
---|---|---|---|---|
version | String | 是 | URL参数 | API版本号 |
providerId | String | 是 | URL参数 | 认证源id |
响应头域
除公共头域外,无其它特殊头域。
响应参数
见Provider模型
请求示例
GET https://idaas.baidubce.com/v1/provider/57a3fc1043844744a6f5ec844c388d79
Host: idaas.baidubce.com
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08
响应示例
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Date: Wed, 08 Jul 2015 03:28:11 GMT
x-bce-request-id: d8752367-38e8-45e4-b4c7-e53be3137ce5
Server: BWS
{
"id": "57a3fc1043844744a6f5ec844c388d79",
"icon": "icon",
"name": "testopld",
"displayName": "display",
"comment": "comment",
"providerType": "Custom",
"authType": "LDAP",
"authConfig": {
"type": "LDAP",
"saveSession": false,
"ldapType": "OPEN_LDAP",
"serverUrl": "10.14.236.230",
"baseDN": "dc=bcetest-ad,dc=com",
"useSSL": false,
"adminDN": "cn=cixiao,ou=serverrd,ou=rd,ou=people,dc=bcetest-ad,dc=com",
"adminPwd": "zcx123456",
"syncOu": true,
"syncUser": true,
"userBindingProperty": "uid",
"certExpired": false,
"syncPassword": false
},
"bindType": "NAME",
"projectId": "cadd0f870d304c5fa6eccdd4002145dd",
"organizationUnitId": "05ba20bdc82f4d81bd2665cba8306459",
"status": 0
}