oauth2.json 659 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "enable": false,
  3. "name": "",
  4. "icon": "",
  5. "clientId": "",
  6. "clientSecret": "",
  7. "authAddress": "",
  8. "authParameter": {
  9. "client_id": "{$clientId}",
  10. "client_secret": "{$clientSecret}"
  11. },
  12. "authMethod": "GET",
  13. "tokenAddress": "",
  14. "tokenParameter": {
  15. "client_id": "{$clientId}",
  16. "client_secret": "{$clientSecret}",
  17. "code": "{$code}"
  18. },
  19. "tokenMethod": "POST",
  20. "tokenType": "json",
  21. "infoAddress": "",
  22. "infoParameter": {
  23. "client_id": "{$clientId}",
  24. "client_secret": "{$clientSecret}",
  25. "token": "{$access_token}"
  26. },
  27. "infoMethod": "GET",
  28. "infoType": "json",
  29. "infoCredentialField": "username"
  30. }