You are here

social_auth_google.routing.yml in Open Social 8.6

modules/custom/social_auth_google/social_auth_google.routing.yml

File

modules/custom/social_auth_google/social_auth_google.routing.yml
View source
  1. social_auth_google.settings_form:
  2. path: '/admin/config/social-api/social-auth/google'
  3. defaults:
  4. _title: 'Social Auth Google settings'
  5. _form: '\Drupal\social_auth_google\Form\GoogleAuthSettingsForm'
  6. requirements:
  7. _permission: 'administer social api authentication'
  8. social_auth_google.user_login:
  9. path: '/user/login/google'
  10. defaults:
  11. _controller: '\Drupal\social_auth_google\Controller\GoogleAuthController::userLogin'
  12. requirements:
  13. _role: 'anonymous'
  14. options:
  15. no_cache: TRUE
  16. social_auth_google.user_login_callback:
  17. path: '/user/login/google/callback'
  18. defaults:
  19. _controller: '\Drupal\social_auth_google\Controller\GoogleAuthController::userLoginCallback'
  20. requirements:
  21. _role: 'anonymous'
  22. options:
  23. no_cache: TRUE
  24. social_auth_google.user_login_notice:
  25. path: '/user/login/google/notice'
  26. defaults:
  27. _title: 'Login'
  28. _form: '\Drupal\social_auth_extra\Form\AuthLoginNoticeForm'
  29. network: 'google'
  30. requirements:
  31. _role: 'anonymous'
  32. social_auth_google.user_register:
  33. path: '/user/register/google'
  34. defaults:
  35. _controller: '\Drupal\social_auth_google\Controller\GoogleAuthController::userRegister'
  36. requirements:
  37. _role: 'anonymous'
  38. options:
  39. no_cache: TRUE
  40. social_auth_google.user_register_callback:
  41. path: '/user/register/google/callback'
  42. defaults:
  43. _controller: '\Drupal\social_auth_google\Controller\GoogleAuthController::userRegisterCallback'
  44. requirements:
  45. _role: 'anonymous'
  46. options:
  47. no_cache: TRUE
  48. social_auth_google.user_link:
  49. path: '/social-api/link/google'
  50. defaults:
  51. _controller: '\Drupal\social_auth_google\Controller\GoogleLinkController::linkAccount'
  52. requirements:
  53. _role: 'authenticated'
  54. options:
  55. no_cache: TRUE
  56. social_auth_google.user_link_callback:
  57. path: '/social-api/link/google/callback'
  58. defaults:
  59. _controller: '\Drupal\social_auth_google\Controller\GoogleLinkController::linkAccountCallback'
  60. requirements:
  61. _role: 'authenticated'
  62. options:
  63. no_cache: TRUE
  64. social_auth_google.user_unlink:
  65. path: '/social-api/unlink/google'
  66. defaults:
  67. _title: 'Unlink Google'
  68. _form: '\Drupal\social_auth_extra\Form\AuthUnlinkForm'
  69. network: 'google'
  70. requirements:
  71. _role: 'authenticated'