You are here

saml_sp_drupal_login.routing.yml in SAML Service Provider 3.x

modules/saml_sp_drupal_login/saml_sp_drupal_login.routing.yml

File

modules/saml_sp_drupal_login/saml_sp_drupal_login.routing.yml
View source
  1. saml_sp_drupal_login.config:
  2. path: /admin/config/people/saml_sp/login
  3. defaults:
  4. _title: 'SAML'
  5. _form: \Drupal\saml_sp_drupal_login\Form\SamlSpDrupalLoginConfig
  6. requirements:
  7. _permission: 'configure saml sp'
  8. saml_sp_drupal_login.login:
  9. path: /saml/drupal_login/{idp}
  10. defaults:
  11. _title: 'Initiate SAML SP Drupal Login'
  12. _controller: \Drupal\saml_sp_drupal_login\Controller\SamlSPDrupalLoginController::initiate
  13. requirements:
  14. _access: 'TRUE'
  15. saml_sp_drupal_login.register:
  16. path: '/user/saml_sp_drupal_login_register'
  17. defaults:
  18. _entity_form: 'user.register'
  19. _title: 'Request an account'
  20. requirements:
  21. _custom_access: '\Drupal\saml_sp_drupal_login\Controller\SamlSPDrupalLoginController::access'