mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 06:09:39 +08:00
70 lines
1.4 KiB
YAML
70 lines
1.4 KiB
YAML
IdpListResponse:
|
|
type: object
|
|
properties:
|
|
limit:
|
|
type: integer
|
|
example: 20
|
|
offset:
|
|
type: integer
|
|
example: 0
|
|
total:
|
|
type: integer
|
|
description: 总量
|
|
identity_providers:
|
|
type: array
|
|
items:
|
|
$ref: "#/Idp"
|
|
|
|
IdpGetResponse:
|
|
type: object
|
|
properties:
|
|
identity_provider:
|
|
type: object
|
|
$ref: "#/Idp"
|
|
|
|
IdpPutRequestInput:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
description: 认证源的名称
|
|
description:
|
|
type: string
|
|
description: 认证源的描述
|
|
|
|
IdpCreateInput:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
required: true
|
|
description: 认证源的名称
|
|
driver:
|
|
type: string
|
|
required: true
|
|
description: 认证源的driver
|
|
description:
|
|
type: string
|
|
description: 认证源的描述
|
|
|
|
Idp:
|
|
type: object
|
|
description: 认证源
|
|
properties:
|
|
id:
|
|
type: string
|
|
description: 认证源ID
|
|
readOnly: true
|
|
name:
|
|
type: string
|
|
description: 认证源名称
|
|
can_delete:
|
|
type: boolean
|
|
description: 是否可以删除
|
|
driver:
|
|
type: string
|
|
description: 认证源类型,目前支持sql, ldap两种
|
|
template:
|
|
type: string
|
|
description: 认证源配置模板,跟driver相关。当driver为ldap时,支持三种模板:msad_one_domain,openldap_one_domain,msad_multi_domain
|