-
Notifications
You must be signed in to change notification settings - Fork 3
/
authzero.routing.yml
38 lines (38 loc) · 1005 Bytes
/
authzero.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
authzero.login:
path: '/auth0/login'
defaults:
_controller: '\Drupal\authzero\Controller\AuthZeroController::login'
_title: 'Login page for AuthZero'
requirements:
_access: 'TRUE'
options:
no_cache: 'TRUE'
_maintenance_access: 'TRUE'
authzero.logout:
path: '/auth0/logout'
defaults:
_controller: '\Drupal\authzero\Controller\AuthZeroController::logout'
_title: 'Logout Link'
requirements:
_access: 'TRUE'
options:
no_cache: 'TRUE'
authzero.callback:
path: '/auth0/callback'
defaults:
_controller: '\Drupal\authzero\Controller\AuthZeroController::auth0Callback'
_title: 'AuthZero Callback'
requirements:
_access: 'TRUE'
options:
no_cache: 'TRUE'
_maintenance_access: 'TRUE'
authzero.settings:
path: '/admin/config/auth0/settings'
defaults:
_form: '\Drupal\authzero\Form\AuthZeroSettingsForm'
_title: 'AuthZero Settings'
requirements:
_permission: 'access authzero settings'
options:
_admin_route: TRUE