forked from sandstorm/NeosTwoFactorAuthentication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRoutes.yaml
38 lines (35 loc) · 1.18 KB
/
Routes.yaml
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
- name: 'Sandstorm Two Factor Authentication'
uriPattern: 'neos/second-factor-login'
httpMethods: ['GET']
defaults:
'@package': 'Sandstorm.NeosTwoFactorAuthentication'
'@controller': 'Login'
'@action': 'askForSecondFactor'
'@format': 'html'
appendExceedingArguments: true
- name: 'Sandstorm Two Factor Authentication - Validation'
uriPattern: 'neos/second-factor-login'
httpMethods: ['POST']
defaults:
'@package': 'Sandstorm.NeosTwoFactorAuthentication'
'@controller': 'Login'
'@action': 'checkSecondFactor'
'@format': 'html'
appendExceedingArguments: true
- name: 'Sandstorm Two Factor Authentication - Setup'
uriPattern: 'neos/second-factor-setup'
defaults:
'@package': 'Sandstorm.NeosTwoFactorAuthentication'
'@controller': 'Login'
'@action': 'setupSecondFactor'
'@format': 'html'
httpMethods: ['GET']
appendExceedingArguments: true
- name: 'Sandstorm Two Factor Authentication - Create 2FA'
uriPattern: 'neos/second-factor-setup'
defaults:
'@package': 'Sandstorm.NeosTwoFactorAuthentication'
'@controller': 'Login'
'@action': 'createSecondFactor'
'@format': 'html'
httpMethods: ['POST']