获取身份源对于应用的状态列表
GET
/api/v2/extIdp/{id}/connState
请求参数
Path 参数
id
string
身份源 ID
示例值:
61dff475b33b0c839bdeb254
Header 参数
Authorization
string
Token
示例值:
Bearer eyJhb
x-authing-userpool-id
string
用户池 ID
示例值:
61b95d6c96d42670da568408
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://core.authing.cn/api/v2/extIdp/61dff475b33b0c839bdeb254/connState' \
--header 'Authorization: Bearer eyJhb' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
array [object {5}]
必需
connId
string
可选
connName
string
可选
connLogo
string
可选
connType
string
可选
state
array [object {4}]
可选
示例
{
"code": 200,
"message": "状态获取成功",
"data": [
{
"connId": "61dfefa574d3d10be78928a1",
"connName": "GitHub 登",
"connLogo": "https://files.authing.co/authing-console/social-connections/icon_github.png",
"connType": "github",
"state": [
{
"appId": "61b95d6c1b28c2d0d3a44b16",
"appName": "我的第一个用户池",
"appLogo": "https://files.authing.co/authing-console/default-app-logo.png",
"enabled": true
},
{
"appId": "61b95d6cf8c1e8c415b8552f",
"appName": "示例应用",
"appLogo": "https://files.authing.co/authing-console/default-app-logo.png",
"enabled": true
},
{
"appId": "61dbe4836beb0afb44d14b88",
"appName": "自建应用",
"appLogo": "https://files.authing.co/authing-console/default-app-logo.png",
"enabled": true
},
{
"appId": "61df925846bed781f5757166",
"appName": "12",
"appLogo": "https://files.authing.co/authing-console/default-app-logo.png",
"enabled": true
}
]
}
]
}
修改于 2022-01-13 10:22:09