itizawa пре 6 година
родитељ
комит
f7fc335404
1 измењених фајлова са 32 додато и 0 уклоњено
  1. 32 0
      src/server/routes/apiv3/security-setting.js

+ 32 - 0
src/server/routes/apiv3/security-setting.js

@@ -76,6 +76,38 @@ const validator = {
  *                  hideRestrictedByGroup:
  *                  hideRestrictedByGroup:
  *                    type: boolean
  *                    type: boolean
  *                    description: enable hide by group
  *                    description: enable hide by group
+ *          OidcAuthSetting:
+ *            type:object
+ *              oidcProviderName:
+ *                type: string
+ *                description: provider name for oidc
+ *              oidcIssuerHost:
+ *                type: string
+ *                description: issuer host for oidc
+ *              oidcClientId:
+ *                type: string
+ *                description: client id for oidc
+ *              oidcClientSecret:
+ *                type: string
+ *                description: client secret for oidc
+ *              oidcAttrMapId:
+ *                type: string
+ *                description: attr map id for oidc
+ *              oidcAttrMapUserName:
+ *                type: string
+ *                description: attr map username for oidc
+ *              oidcAttrMapName:
+ *                type: string
+ *                description: attr map name for oidc
+ *              oidcAttrMapMail:
+ *                type: string
+ *                description: attr map mail for oidc
+ *              isSameEmailTreatedAsIdenticalUser
+ *                type: boolean
+ *                description: local account automatically linked the email matched
+ *              isSameUsernameTreatedAsIdenticalUser
+ *                type: boolean
+ *                description: local account automatically linked the user name matched
  *          BasicAuthSetting:
  *          BasicAuthSetting:
  *            type:object
  *            type:object
  *              isSameUsernameTreatedAsIdenticalUser
  *              isSameUsernameTreatedAsIdenticalUser