token.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "key": "",
  3. "password": "",
  4. "sslKeyStorePassword": "12345678",
  5. "sslKeyManagerPassword": "12345678",
  6. "initialManager": "xadmin",
  7. "initialManagerDistinguishedName": "xadmin@o2oa@P",
  8. "ssos": [
  9. {
  10. "enable": false,
  11. "client": "",
  12. "key": "",
  13. "###enable": "是否启用###",
  14. "###client": "名称###",
  15. "###key": "密钥###"
  16. }
  17. ],
  18. "oauths": [
  19. {
  20. "enable": false,
  21. "clientId": "",
  22. "mapping": {},
  23. "###enable": "是否启用###",
  24. "###clientId": "客户端名称###",
  25. "###mapping": "返回值###"
  26. }
  27. ],
  28. "oauthClients": [
  29. {
  30. "enable": false,
  31. "name": "",
  32. "displayName": "",
  33. "icon": "",
  34. "clientId": "",
  35. "clientSecret": "",
  36. "authAddress": "",
  37. "authParameter": "client_id\u003d{$client_id}\u0026redirect_uri\u003d{$redirect_uri}",
  38. "authMethod": "GET",
  39. "tokenAddress": "",
  40. "tokenParameter": "client_id\u003d{$client_id}\u0026client_secret\u003d{$client_secret}\u0026redirect_uri\u003d{$redirect_uri}\u0026grant_type\u003dauthorization_code\u0026code\u003d{$code}",
  41. "tokenMethod": "POST",
  42. "tokenType": "json",
  43. "infoAddress": "",
  44. "infoParameter": "access_token\u003d{$access_token}",
  45. "infoMethod": "GET",
  46. "infoType": "json",
  47. "infoCredentialField": "openId",
  48. "infoScriptText": "",
  49. "bindingEnable": false,
  50. "bindingField": "",
  51. "###enable": "是否启用.###",
  52. "###name": "名称.###",
  53. "###displayName": "显示名称.###",
  54. "###icon": "图标.###",
  55. "###clientId": "用户oauth2认证的client_id.###",
  56. "###clientSecret": "用户oauth2认证的client_secret.###",
  57. "###authAddress": "认证后的跳转地址.###",
  58. "###authParameter": "请求密钥方法参数.###",
  59. "###authMethod": "请求密钥方法.一般为GET###",
  60. "###tokenAddress": "请求令牌网址.###",
  61. "###tokenParameter": "请求令牌方法参数.###",
  62. "###tokenMethod": "请求令牌方法.一般为POST###",
  63. "###tokenType": "token信息格式.json格式或者form格式###",
  64. "###infoAddress": "请求信息网址.###",
  65. "###infoParameter": "请求信息方法参数.###",
  66. "###infoMethod": "请求信息方法.一般为GET###",
  67. "###infoType": "info信息格式.json格式或者form格式或者script格式###",
  68. "###infoCredentialField": "info信息中用于标识个人的字段.###",
  69. "###infoScriptText": "info信息中用于标识个人的字段.###",
  70. "###bindingEnable": "是否允许绑定到用户,如果允许,用户可以自行绑定.###",
  71. "###bindingField": "绑定字段,对端的用户标识,一般为openId绑定到个人字段,可选值为open1Id,open2Id,open3Id,open4Id,open5Id###"
  72. }
  73. ],
  74. "###key": "加密用口令的密钥,修改后会导致用户口令验证失败.###",
  75. "###password": "初始管理员密码,用于内部数据库和FTP文件服务器,以及http的token加密.###",
  76. "###sslKeyStorePassword": "ssl密码###",
  77. "###sslKeyManagerPassword": "ssl管理密码###",
  78. "###initialManager": "初始管理员名称,目前不可更改.###",
  79. "###initialManagerDistinguishedName": "初始管理员DistinguishedName,不可更改.###",
  80. "###qyweixin": "微信配置###",
  81. "qyweixin": {
  82. "enable": false,
  83. "corpId": "",
  84. "corpSecret": ""
  85. },
  86. "###dingding": "钉钉配置###",
  87. "dingding": {
  88. "enable": false,
  89. "corpId": "",
  90. "agentId": "",
  91. "corpSecret": "",
  92. "syncCron": "10 0/10 * * * ?",
  93. "forceSyncCron": "10 45 8,12 * * ?",
  94. "oapiAddress": "https://oapi.dingtalk.com",
  95. "messageEnable": true,
  96. "###enable": "是否启用###",
  97. "###corpId": "钉钉corpId###",
  98. "###agentId": "agentId###",
  99. "###corpSecret": "钉钉corpSecret###",
  100. "###syncCron": "组织同步cron,默认每10分钟同步一次.###",
  101. "###forceSyncCron": "强制拉入同步cron,默认在每天的8点和12点强制进行同步.###",
  102. "###oapiAddress": "oapi服务器地址###",
  103. "###messageEnable": "是否启用消息推送###"
  104. },
  105. "###ssos": "sso登录配置###",
  106. "###oauths": "oauth单点登录配置###",
  107. "###oauthClients": "作为客户端单点登录配置###"
  108. }