token.json 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. "###ssos": "sso登录配置###",
  81. "###oauths": "oauth单点登录配置###",
  82. "###oauthClients": "作为客户端单点登录配置###"
  83. }