You are here

services_api_key_auth.routing.yml in Services API Key Authentication 3.0.x

File

services_api_key_auth.routing.yml
View source
  1. entity.api_key.collection:
  2. path: '/admin/config/services/api_key'
  3. defaults:
  4. _entity_list: 'api_key'
  5. _title: 'Api Key List'
  6. requirements:
  7. _permission: 'administer services_api_key_auth'
  8. entity.api_key.add_form:
  9. path: '/admin/config/services/api_key/add'
  10. defaults:
  11. _title: 'Add Api keys'
  12. _entity_form: 'api_key.add'
  13. requirements:
  14. _entity_create_access: 'api_key'
  15. entity.api_key.edit_form:
  16. path: '/admin/config/services/api_key/{api_key}/edit'
  17. defaults:
  18. _entity_form: 'api_key.add'
  19. requirements:
  20. _entity_access: 'api_key.edit'
  21. entity.api_key.delete_form:
  22. path: '/admin/config/services/api_key/{api_key}/delete'
  23. defaults:
  24. _title: 'Delete api_key'
  25. _entity_form: 'api_key.delete'
  26. requirements:
  27. _entity_access: 'api_key.delete'
  28. options:
  29. parameters:
  30. api_key:
  31. with_config_overrides: TRUE