forked from SU-SWS/stanford_samlauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stanford_samlauth.routing.yml
45 lines (41 loc) · 1.26 KB
/
stanford_samlauth.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
39
40
41
42
43
44
45
stanford_samlauth.simplesamlphp:
path: '/saml_login'
defaults:
_controller: '\Drupal\stanford_samlauth\Controller\StanfordSamlAuthLoginController::login'
_title: 'SAML login'
requirements:
_user_is_logged_in: 'FALSE'
options:
_maintenance_access: TRUE
no_cache: TRUE
stanford_samlauth.sso_login:
path: '/sso/login'
defaults:
_controller: '\Drupal\stanford_samlauth\Controller\StanfordSamlAuthLoginController::login'
_title: 'SAML login'
requirements:
_user_is_logged_in: 'FALSE'
options:
_maintenance_access: TRUE
no_cache: TRUE
stanford_samlauth.settings:
path: '/admin/config/people/saml/authorization'
defaults:
_title: 'Authorization'
_form: 'Drupal\stanford_samlauth\Form\SamlAuthAuthorizationsForm'
requirements:
_permission: 'configure saml'
stanford_samlauth.role_mapping:
path: '/admin/config/people/saml/user-roles'
defaults:
_title: 'User Role Mapping'
_form: 'Drupal\stanford_samlauth\Form\RoleMappingSettingsForm'
requirements:
_permission: 'configure saml'
stanford_samlauth.create_user:
path: '/admin/people/create/saml'
defaults:
_title: 'Add SAML User'
_form: 'Drupal\stanford_samlauth\Form\SamlAuthCreateUserForm'
requirements:
_permission: 'administer users'