sqrl-2.0.0-rc1/sqrl.routing.yml

sqrl.routing.yml
sqrl.settings:
  path: '/admin/config/people/sqrl'
  defaults:
    _title: 'SQRL'
    _form: '\Drupal\sqrl\Form\Settings'
  requirements:
    _permission: 'administer account settings'

sqrl.ajax:
  path: '/sqrl/ajax/{op}'
  defaults:
    _controller: '\Drupal\sqrl\Controller\Ajax::request'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Ajax::access'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

sqrl.img:
  path: '/sqrl/img'
  defaults:
    _controller: '\Drupal\sqrl\Controller\Image::request'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Image::access'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

sqrl.client:
  path: '/sqrl/client'
  defaults:
    _controller: '\Drupal\sqrl\Controller\Client::request'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Client::access'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

sqrl.link:
  path: '/user/{user}/sqrl-link'
  defaults:
    _title: 'Link your SQRL identity'
    _controller: '\Drupal\sqrl\Controller\Link::request'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Link::access'
    user: \d+
  options:
    _maintenance_access: TRUE
    _admin_route: TRUE
    no_cache: TRUE
    parameters:
      user:
        type: entity:user

sqrl.unlink:
  path: '/user/{user}/sqrl-unlink'
  defaults:
    _title: 'Unlink SQRL identity'
    _controller: '\Drupal\sqrl\Controller\Unlink::request'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Unlink::access'
    user: \d+
  options:
    _maintenance_access: TRUE
    _admin_route: TRUE
    no_cache: TRUE
    parameters:
      user:
        type: entity:user

sqrl.view:
  path: '/sqrl/view/{op}'
  defaults:
    _title_callback: '\Drupal\sqrl\Assets::getOperationTitle'
    _controller: '\Drupal\sqrl\Controller\View::request'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\View::access'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

sqrl.ident.select:
  path: '/sqrl/select/{token}'
  defaults:
    _title: 'Select the user account'
    _form: '\Drupal\sqrl\Form\SelectAccount'
  requirements:
    _custom_access: '\Drupal\sqrl\Form\SelectAccount::access'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

sqrl.profile.edit:
  path: '/user/{user}/sqrl/{token}'
  defaults:
    _title: 'Add password and email address'
    _form: '\Drupal\sqrl\Form\ProfileEdit'
  requirements:
    _custom_access: '\Drupal\sqrl\Form\ProfileEdit::access'
    user: \d+
  options:
    _maintenance_access: TRUE
    _admin_route: TRUE
    no_cache: TRUE
    parameters:
      user:
        type: entity:user

sqrl.profile.confirm:
  path: '/user/{user}/sqrl/confirm/{token}'
  defaults:
    _controller: '\Drupal\sqrl\Controller\ProfileConfirm::execute'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\ProfileConfirm::access'
    user: \d+
  options:
    _maintenance_access: TRUE
    _admin_route: TRUE
    no_cache: TRUE
    parameters:
      user:
        type: entity:user

sqrl.cps.url.login:
  path: '/sqrl/login/{token}'
  defaults:
    _controller: '\Drupal\sqrl\Controller\Cps::login'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Cps::accessLogin'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

sqrl.cps.url.cancel:
  path: '/sqrl/cancel/{token}'
  defaults:
    _controller: '\Drupal\sqrl\Controller\Cps::cancel'
  requirements:
    _custom_access: '\Drupal\sqrl\Controller\Cps::accessCancel'
  options:
    _maintenance_access: TRUE
    no_cache: TRUE

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc