You are here

samlauth.routing.yml in SAML Authentication 8.2

File

samlauth.routing.yml
View source
  1. samlauth.saml_controller_login:
  2. path: '/saml/login'
  3. defaults:
  4. _controller: '\Drupal\samlauth\Controller\SamlController::login'
  5. _title: 'SAML Login'
  6. requirements:
  7. _role: 'anonymous'
  8. options:
  9. no_cache: TRUE
  10. samlauth.saml_controller_logout:
  11. path: '/saml/logout'
  12. defaults:
  13. _controller: '\Drupal\samlauth\Controller\SamlController::logout'
  14. _title: 'SAML Logout'
  15. requirements:
  16. _role: 'authenticated'
  17. options:
  18. no_cache: TRUE
  19. samlauth.saml_controller_metadata:
  20. path: '/saml/metadata'
  21. defaults:
  22. _controller: '\Drupal\samlauth\Controller\SamlController::metadata'
  23. _title: 'SAML Metadata'
  24. requirements:
  25. _permission: 'view sp metadata'
  26. samlauth.saml_controller_acs:
  27. path: '/saml/acs'
  28. defaults:
  29. _controller: '\Drupal\samlauth\Controller\SamlController::acs'
  30. _title: 'SAML ACS'
  31. requirements:
  32. _role: 'anonymous'
  33. options:
  34. no_cache: TRUE
  35. samlauth.saml_controller_sls:
  36. path: '/saml/sls'
  37. defaults:
  38. _controller: '\Drupal\samlauth\Controller\SamlController::sls'
  39. _title: 'SAML SLS'
  40. requirements:
  41. _role: 'authenticated'
  42. options:
  43. no_cache: TRUE
  44. samlauth.saml_controller_changepw:
  45. path: '/saml/changepw'
  46. defaults:
  47. _controller: '\Drupal\samlauth\Controller\SamlController::changepw'
  48. _title: 'SAML Change Password'
  49. requirements:
  50. _role: 'authenticated'
  51. options:
  52. no_cache: TRUE
  53. samlauth.samlauth_configure_form:
  54. path: '/admin/config/people/saml'
  55. defaults:
  56. _form: '\Drupal\samlauth\Form\SamlauthConfigureForm'
  57. _title: 'SAML Authentication'
  58. requirements:
  59. _permission: 'configure saml'