You are here

cas.routing.yml in CAS 2.x

Same filename and directory in other branches
  1. 8 cas.routing.yml

File

cas.routing.yml
View source
  1. cas.settings:
  2. path: '/admin/config/people/cas'
  3. defaults:
  4. _form: '\Drupal\cas\Form\CasSettings'
  5. _title: 'CAS settings'
  6. requirements:
  7. _permission: 'administer account settings'
  8. cas.login:
  9. path: '/caslogin'
  10. defaults:
  11. _controller: '\Drupal\cas\Controller\ForceLoginController::forceLogin'
  12. requirements:
  13. # This route is publicly accessible.
  14. _access: 'TRUE'
  15. options:
  16. _maintenance_access: TRUE
  17. cas.legacy_login:
  18. path: '/cas'
  19. defaults:
  20. _controller: '\Drupal\cas\Controller\ForceLoginController::forceLogin'
  21. requirements:
  22. # This route is publicly accessible.
  23. _access: 'TRUE'
  24. options:
  25. _maintenance_access: TRUE
  26. cas.service:
  27. path: '/casservice'
  28. defaults:
  29. _controller: '\Drupal\cas\Controller\ServiceController::handle'
  30. requirements:
  31. # This route is publicly accessible.
  32. _access: 'TRUE'
  33. options:
  34. _maintenance_access: TRUE
  35. no_cache: TRUE
  36. cas.proxyCallback:
  37. path: '/casproxycallback'
  38. defaults:
  39. _controller: '\Drupal\cas\Controller\ProxyCallbackController::callback'
  40. requirements:
  41. # This route is publicly accessible.
  42. _access: 'TRUE'
  43. options:
  44. _maintenance_access: TRUE
  45. no_cache: TRUE
  46. cas.logout:
  47. path: '/caslogout'
  48. defaults:
  49. _controller: '\Drupal\cas\Controller\LogoutController::logout'
  50. requirements:
  51. _user_is_logged_in: 'TRUE'
  52. options:
  53. _maintenance_access: TRUE
  54. no_cache: TRUE
  55. cas.bulk_add_cas_users:
  56. path: '/admin/people/create/cas-bulk'
  57. defaults:
  58. _form: '\Drupal\cas\Form\BulkAddCasUsers'
  59. _title: 'Bulk Add CAS Users'
  60. requirements:
  61. _permission: 'administer users'