You are here

social_auth_linkedin.routing.yml in Social Auth LinkedIn 8

File

social_auth_linkedin.routing.yml
View source
  1. social_auth_linkedin.settings_form:
  2. path: '/admin/config/social-api/social-auth/linkedin'
  3. defaults:
  4. _title: 'LinkedIn Account Settings'
  5. _form: 'Drupal\social_auth_linkedin\Form\LinkedinAuthSettingsForm'
  6. requirements:
  7. _permission: 'administer social api authentication'
  8. social_auth_linkedin.redirect_to_linkedin:
  9. path: 'user/login/linkedin'
  10. defaults:
  11. _controller: 'Drupal\social_auth_linkedin\Controller\LinkedinAuthController::redirectToLinkedIn'
  12. requirements:
  13. _role: 'anonymous'
  14. options:
  15. no_cache: TRUE
  16. social_auth_linkedin.callback:
  17. path: '/user/login/linkedin/callback'
  18. defaults:
  19. _controller: 'Drupal\social_auth_linkedin\Controller\LinkedinAuthController::callback'
  20. requirements:
  21. _role: 'anonymous'
  22. options:
  23. no_cache: TRUE