oauthost.routing.yml 541 Bytes
Newer Older
1 2 3 4 5 6
oauthost.log_in_go:
  path: /oauth/login
  defaults:
    _controller: '\Drupal\oauthost\Controller\OAuthLogin::loginGo'
  requirements:
    _access: 'TRUE'
7 8 9 10 11 12
oauthost.callback_log_in:
  path: /oauth/cb
  defaults:
    _controller: '\Drupal\oauthost\Controller\CBController::loginCB'
  requirements:
    _permission: 'access content'
13 14 15 16 17 18 19 20
oauthost.log_out_go:
  path: /oauth/logout
  options:
    _auth: [ 'basic_auth' ]
  defaults:
    _controller: '\Drupal\oauthost\Controller\OAuthLogout::logoutGo'
  requirements:
    _user_is_logged_in: 'TRUE'