You are here

simple_oauth_test.routing.yml in Simple OAuth (OAuth2) & OpenID Connect 5.x

Same filename and directory in other branches
  1. 8.4 tests/simple_oauth_test/simple_oauth_test.routing.yml
tests/simple_oauth_test/simple_oauth_test.routing.yml

File

tests/simple_oauth_test/simple_oauth_test.routing.yml
View source
  1. oauth2_token.test_token:
  2. path: '/oauth/test'
  3. defaults:
  4. _controller: '\Drupal\simple_oauth_test\Controller\RedirectDebug::token'
  5. _title: 'Test Route'
  6. methods: [GET]
  7. requirements:
  8. _access: 'TRUE'