epal.routing.yml 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
epal.user.send_verification_code:
  path: '/epal/user/sendvercode'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::sendVerificationCode'
  requirements:
    _user_is_logged_in: 'TRUE'
epal.user.verify_verification_code:
  path: '/epal/user/verifyvercode'
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\CurrentUser::verifyVerificationCode'
  requirements:
    _user_is_logged_in: 'TRUE'
epal.user.get_data:
18
  path: '/epal/userdata'
19 20
  options:
    _auth: [ 'basic_auth' ]
21
  defaults:
22
    _controller: '\Drupal\epal\Controller\CurrentUser::getEpalUserData'
23 24
  requirements:
    _user_is_logged_in: 'TRUE'
25
epal.current_user:
Open Source Developer's avatar
Open Source Developer committed
26
  path: '/epal/curuser'
27
  options:
Open Source Developer's avatar
Open Source Developer committed
28
    _auth: [ 'basic_auth' ]
Open Source Developer's avatar
Open Source Developer committed
29
  defaults:
30
    _controller: '\Drupal\epal\Controller\CurrentUser::getLoginInfo'
Open Source Developer's avatar
Open Source Developer committed
31
  requirements:
Open Source Developer's avatar
Open Source Developer committed
32
    _user_is_logged_in: 'TRUE'
33 34
epal.application_submit:
  path: '/epal/appsubmit'
35
  options:
36 37 38 39 40
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\epal\Controller\ApplicationSubmit::appSubmit'
  requirements:
    _user_is_logged_in: 'TRUE'