-
Notifications
You must be signed in to change notification settings - Fork 1
/
social_auth_pbs.routing.yml
68 lines (62 loc) · 2.28 KB
/
social_auth_pbs.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
social_auth_pbs.redirect_to_pbs:
path: 'user/login/pbs'
defaults:
_controller: '\Drupal\social_auth_pbs\Controller\PbsAuthController::redirectToProvider'
requirements:
# Anonymous users can log in, but authenticated users can also associate a new provider.
_access: 'TRUE'
options:
no_cache: TRUE
social_auth_pbs.redirect_to_pbs_register:
path: 'user/login/pbs-register'
defaults:
_controller: '\Drupal\social_auth_pbs\Controller\PbsRegisterController::redirectToProvider'
requirements:
# Anonymous users can log in, but authenticated users can also associate a new provider.
_access: 'TRUE'
options:
no_cache: TRUE
social_auth_pbs.redirect_to_apple:
path: 'user/login/pbs-apple'
defaults:
_controller: '\Drupal\social_auth_pbs\Controller\PbsAppleAuthController::redirectToProvider'
requirements:
# Anonymous users can log in, but authenticated users can also associate a new provider.
_access: 'TRUE'
options:
no_cache: TRUE
social_auth_pbs.redirect_to_facebook:
path: 'user/login/pbs-facebook'
defaults:
_controller: '\Drupal\social_auth_pbs\Controller\PbsFacebookAuthController::redirectToProvider'
requirements:
# Anonymous users can log in, but authenticated users can also associate a new provider.
_access: 'TRUE'
options:
no_cache: TRUE
social_auth_pbs.redirect_to_google:
path: 'user/login/pbs-google'
defaults:
_controller: '\Drupal\social_auth_pbs\Controller\PbsGoogleAuthController::redirectToProvider'
requirements:
# Anonymous users can log in, but authenticated users can also associate a new provider.
_access: 'TRUE'
options:
no_cache: TRUE
social_auth_pbs.callback:
path: 'user/login/pbs/callback'
defaults:
# This callback uses the primary PBS controller for _all_ variants.
_controller: '\Drupal\social_auth_pbs\Controller\PbsAuthController::callback'
requirements:
# Anonymous users can log in, but authenticated users can also associate a new provider.
_access: 'TRUE'
options:
no_cache: TRUE
social_auth_pbs.settings_form:
path: 'admin/config/social-api/social-auth/pbs'
defaults:
_title: 'Social Auth PBS settings'
_form: '\Drupal\social_auth_pbs\Form\PbsAuthSettingsForm'
requirements:
_permission: 'administer social api authentication'