You are here

gauth.routing.yml in Google Auth 8

File

gauth.routing.yml
View source
  1. entity.gauth.canonical:
  2. path: '/gauth/{gauth}'
  3. defaults:
  4. # Calls the view controller, defined in the annotation of the gauth entity
  5. _entity_view: 'gauth'
  6. _title: 'Gauth Accounts'
  7. requirements:
  8. _permission: 'administer site configuration'
  9. entity.gauth.collection:
  10. path: '/admin/config/services/gauth'
  11. defaults:
  12. _title: 'Google Accounts'
  13. _entity_list: 'gauth'
  14. requirements:
  15. _permission: 'administer site configuration'
  16. gauth.gauth_add:
  17. path: '/admin/config/services/gauth/add'
  18. defaults:
  19. _entity_form: gauth.edit
  20. _title: 'Add Gauth account'
  21. requirements:
  22. _permission: 'administer site configuration'
  23. entity.gauth.edit_form:
  24. path: '/admin/config/services/gauth/{gauth}/edit'
  25. defaults:
  26. # Calls the form.edit controller, defined in the gauth entity.
  27. _entity_form: gauth.edit
  28. _title: 'Edit Gauth Account'
  29. requirements:
  30. _permission: 'administer site configuration'
  31. entity.gauth.delete_form:
  32. path: '/admin/config/services/gauth/{gauth}/delete'
  33. defaults:
  34. # Calls the form.delete controller, defined in the gauth entity.
  35. _entity_form: gauth.delete
  36. _title: 'Delete Gauth Account'
  37. requirements:
  38. _permission: 'administer site configuration'
  39. gauth.response_handler:
  40. path: '/gauth/response_handler'
  41. defaults:
  42. _controller: '\Drupal\gauth\Entity\Controller\GauthResponseHandler::responseHandler'
  43. methods: [GET]
  44. requirements:
  45. _access: 'TRUE'
  46. entity.gauth.revoke_form:
  47. path: '/admin/config/services/gauth/{gauth}/revoke'
  48. defaults:
  49. _title: 'Google Account Token Revoke'
  50. _entity_form: 'gauth.revoke'
  51. requirements:
  52. _permission: 'administer site configuration'
  53. gauth.gauth_settings:
  54. path: 'admin/structure/gauth_settings'
  55. defaults:
  56. _form: '\Drupal\gauth\Form\GauthSettingsForm'
  57. _title: 'Gauth Settings'
  58. requirements:
  59. _permission: 'administer site configuration'