token.json 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "key": "",
  3. "password": "",
  4. "sslKeyStorePassword": "123456",
  5. "sslKeyManagerPassword": "123456",
  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. "###clientSecret": "密钥###",
  26. "###loginUrl": "登录地址###",
  27. "###mapping": "返回值###"
  28. }
  29. ],
  30. "oauthClients": [
  31. {
  32. "enable": false,
  33. "name": "",
  34. "displayName": "",
  35. "icon": "",
  36. "clientId": "",
  37. "clientSecret": "",
  38. "authAddress": "",
  39. "authParameter": "client_id\u003d{$client_id}\u0026redirect_uri\u003d{$redirect_uri}",
  40. "authMethod": "GET",
  41. "tokenAddress": "",
  42. "tokenParameter": "client_id\u003d{$client_id}\u0026client_secret\u003d{$client_secret}\u0026redirect_uri\u003d{$redirect_uri}\u0026grant_type\u003dauthorization_code\u0026code\u003d{$code}",
  43. "tokenMethod": "POST",
  44. "tokenType": "json",
  45. "infoAddress": "",
  46. "infoParameter": "access_token\u003d{$access_token}",
  47. "infoMethod": "GET",
  48. "infoType": "json",
  49. "infoCredentialField": "openId",
  50. "infoScriptText": "",
  51. "bindingEnable": false,
  52. "bindingField": "",
  53. "###enable": "是否启用.###",
  54. "###name": "名称.###",
  55. "###displayName": "显示名称.###",
  56. "###icon": "图标.###",
  57. "###clientId": "用户oauth2认证的client_id.###",
  58. "###clientSecret": "用户oauth2认证的client_secret.###",
  59. "###authAddress": "认证后的跳转地址.###",
  60. "###authParameter": "请求密钥方法参数.###",
  61. "###authMethod": "请求密钥方法.一般为GET###",
  62. "###tokenAddress": "请求令牌网址.###",
  63. "###tokenParameter": "请求令牌方法参数.###",
  64. "###tokenMethod": "请求令牌方法.一般为POST###",
  65. "###tokenType": "token信息格式.json格式或者form格式###",
  66. "###infoAddress": "请求信息网址.###",
  67. "###infoParameter": "请求信息方法参数.###",
  68. "###infoMethod": "请求信息方法.一般为GET###",
  69. "###infoType": "info信息格式.json格式或者form格式或者script格式###",
  70. "###infoCredentialField": "info信息中用于标识个人的字段.###",
  71. "###infoScriptText": "info信息中用于标识个人的字段.###",
  72. "###bindingEnable": "是否允许绑定到用户,如果允许,用户可以自行绑定.###",
  73. "###bindingField": "绑定字段,对端的用户标识,一般为openId绑定到个人字段,可选值为open1Id,open2Id,open3Id,open4Id,open5Id###"
  74. }
  75. ],
  76. "###key": "加密用口令的密钥,修改后会导致用户口令验证失败.###",
  77. "###password": "初始管理员密码,用于内部数据库和FTP文件服务器,以及http的token加密.###",
  78. "###sslKeyStorePassword": "ssl密码###",
  79. "###sslKeyManagerPassword": "ssl管理密码###",
  80. "###initialManager": "初始管理员名称,目前不可更改.###",
  81. "###initialManagerDistinguishedName": "初始管理员DistinguishedName,不可更改.###",
  82. "###ssos": "sso登录配置###",
  83. "###oauths": "oauth单点登录配置###",
  84. "###oauthClients": "作为客户端单点登录配置###"
  85. }