Files
cloudpods/docs/schemas/identity_provider.yaml
2019-06-29 15:22:39 +08:00

70 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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