You are here

janrain_capture.routing.yml in Janrain Registration 8

File

janrain_capture.routing.yml
View source
  1. janrain_capture.oauth:
  2. path: '/janrain_capture/oauth'
  3. defaults:
  4. _controller: '\Drupal\janrain_capture\Controller\AuthenticationController::login'
  5. requirements:
  6. _access: 'TRUE'
  7. janrain_capture.forgot:
  8. path: '/janrain_capture/forgot'
  9. defaults:
  10. _controller: '\Drupal\janrain_capture\Controller\AuthenticationController::forgot'
  11. requirements:
  12. _user_is_logged_in: 'FALSE'
  13. janrain_capture.view_profile:
  14. path: '/user/view'
  15. defaults:
  16. _controller: '\Drupal\janrain_capture\Controller\AuthenticationController::viewProfile'
  17. _title: 'My account'
  18. requirements:
  19. _user_is_logged_in: 'TRUE'
  20. janrain_capture.edit_profile:
  21. path: '/user/profile'
  22. defaults:
  23. _controller: '\Drupal\janrain_capture\Controller\AuthenticationController::editProfile'
  24. _title: 'Edit Profile'
  25. requirements:
  26. _user_is_logged_in: 'TRUE'
  27. janrain_capture.simple_logout:
  28. path: '/janrain_capture/logout'
  29. defaults:
  30. _controller: '\Drupal\janrain_capture\Controller\AuthenticationController::logout'
  31. requirements:
  32. _access: 'TRUE'
  33. janrain_capture.settings.capture:
  34. path: '/admin/config/people/janrain-capture/capture-settings'
  35. defaults:
  36. _form: '\Drupal\janrain_capture\Form\JanrainCaptureSettingsForm'
  37. requirements:
  38. _permission: 'administer site configuration'
  39. janrain_capture.settings.screens:
  40. path: '/admin/config/people/janrain-capture/screens-settings'
  41. defaults:
  42. _form: '\Drupal\janrain_capture\Form\JanrainScreensSettingsForm'
  43. requirements:
  44. _permission: 'administer site configuration'