You are here

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

Same filename and directory in other branches
  1. 8.3 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. _form: '\Drupal\simple_oauth_extras\Controller\Oauth2AuthorizeForm'
  5. _title: 'Grant Access to Client'
  6. methods: [GET, POST]
  7. requirements:
  8. _access: 'TRUE'
  9. options:
  10. _auth: ['cookie']
  11. oauth2_token.user_debug:
  12. path: '/oauth/debug'
  13. defaults:
  14. _controller: 'Drupal\simple_oauth_extras\Controller\DebugController::debug'
  15. methods: [GET]
  16. requirements:
  17. _access: 'TRUE'
  18. _format: 'json'
  19. options:
  20. _auth: ['oauth2']
  21. no_cache: TRUE