You are here

simple_oauth_extras.routing.yml in Simple OAuth (OAuth2) & OpenID Connect 8.3

Same filename and directory in other branches
  1. 8.2 simple_oauth_extras/simple_oauth_extras.routing.yml
simple_oauth_extras/simple_oauth_extras.routing.yml

File

simple_oauth_extras/simple_oauth_extras.routing.yml
View source
  1. oauth2_token_extras.authorize:
  2. path: '/oauth/authorize'
  3. defaults:
  4. _controller: 'Drupal\simple_oauth_extras\Controller\Oauth2AuthorizeController::authorize'
  5. _title: 'Grant Access to Client'
  6. methods: [GET, POST]
  7. requirements:
  8. _access: 'TRUE'
  9. options:
  10. _auth: ['cookie']
  11. no_cache: TRUE
  12. oauth2_token.user_debug:
  13. path: '/oauth/debug'
  14. defaults:
  15. _controller: 'Drupal\simple_oauth_extras\Controller\DebugController::debug'
  16. methods: [GET]
  17. requirements:
  18. _access: 'TRUE'
  19. _format: 'json'
  20. options:
  21. _auth: ['oauth2']
  22. no_cache: TRUE