You are here

social_auth_google.routing.yml in Social Auth Google 8

Same filename and directory in other branches
  1. 8.2 social_auth_google.routing.yml
  2. 3.x social_auth_google.routing.yml

File

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: 'Google Account Settings'
  5. _form: 'Drupal\social_auth_google\Form\GoogleAuthSettingsForm'
  6. requirements:
  7. _permission: 'administer social api authentication'
  8. social_auth_google.redirect_to_google:
  9. path: 'user/login/google'
  10. defaults:
  11. _controller: 'Drupal\social_auth_google\Controller\GoogleAuthController::redirectToGoogle'
  12. requirements:
  13. _role: 'anonymous'
  14. options:
  15. no_cache: TRUE
  16. social_auth_google.callback:
  17. path: '/user/login/google/callback'
  18. defaults:
  19. _controller: 'Drupal\social_auth_google\Controller\GoogleAuthController::callback'
  20. requirements:
  21. _role: 'anonymous'
  22. options:
  23. no_cache: TRUE