- 快速开始
- 身份源(Connection)
- 应用(Client)
- 资源服务器(ResourceServer)
- 用户(User)
- 角色(Role)
- 分组(Group)
- 租户(Tenant)
- 组织(Organization)
- 动作(Action)
- 授权(Grant)
- 应用授权(ClientGrant)
- 日志(Log)
- 自定义域名(CusomDomain)
- 密钥(Key)
- 任务(Job)
- 多因素认证(MFA)
- 安全防护(AttackProtection)
- 品牌化(Branding)
获取组织开启的身份源列表
GET
/api/v1/organizations/{id}/enabled_connections
组织
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
id
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://..authok.cn/api/v1/organizations//enabled_connections'
返回响应
🟢200成功
application/json
Body
meta
object (PageMeta)
必需
page
integer
页码
page_size
integer
每页显示数量
total
integer
记录总数
items
array[object (EnabledConnection) {3}]
必需
connection_id
string
身份源ID
assign_membership_on_login
boolean
必需
connection
object (Connection)
身份源
示例
{
"meta": {
"page": 1,
"page_size": 20,
"total": 100
},
"items": [
{
"connection_id": "con_00000000000000000001",
"assign_membership_on_login": true,
"connection": {
"id": "17",
"name": "wechat:pc",
"strategy": "wechat:pc",
"display_name": "",
"enabled_clients": [
"LsBkF4M6wXNDfvazjNaQzAXogM7W2f-p"
]
}
}
]
}
修改于 2022-03-20 11:28:53