epal.routing.yml 411 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
epal_is_logged_in:
  path: '/epal/login/check'
  defaults:
    _controller: '\Drupal\epal\Controller\Login::helloWorld'
  requirements:
    _access: 'TRUE'
epal_auth_test:
  path: 'epal/auth/test'
  options:
    _auth: [ 'oauthost' ]
  defaults:
    _controller: '\Drupal\epal\Controller\Login::helloWorld'
    _title: 'Greeting'
  requirements:
    _permission: 'access content'
    _user_is_logged_in: 'TRUE'