You are here

formassembly.api.oauth.yml in FormAssembly 8

config/schema/formassembly.api.oauth.yml

File

config/schema/formassembly.api.oauth.yml
View source
  1. formassembly.api.oauth:
  2. type: config_object
  3. label: 'FormAssembly API'
  4. mapping:
  5. endpoint:
  6. type: uri
  7. label: 'FormAssembly API Endpoint'
  8. admin_index:
  9. type: boolean
  10. label: 'Using an admin index'
  11. credentials:
  12. type: mapping
  13. mapping:
  14. provider:
  15. type: string
  16. label: 'Credential provider'
  17. data:
  18. type: formassembly.oauth_creds.[%parent.provider]
  19. label: 'Oauth Key'
  20. formassembly.oauth_creds.formassembly:
  21. label: 'FormAssembly Oauth Credentials'
  22. type: mapping
  23. mapping:
  24. cid:
  25. type: string
  26. label: 'Client ID'
  27. secret:
  28. type: string
  29. label: 'Client Secret'
  30. formassembly.oauth_creds.key:
  31. type: mapping
  32. label: 'FormAssembly Oauth Key ID'
  33. mapping:
  34. id:
  35. type: string
  36. label: 'Key ID'