@@ -41,7 +41,7 @@ |
||
41 | 41 | //methods: [GET] |
42 | 42 | //defaults: { _controller: SurfnetStepupSelfServiceSelfServiceBundle:EntryPoint:decideSecondFactorFlow } |
43 | 43 | |
44 | -#[Route(path: '/', name: 'ss_entry_point', methods:['GET'] )] |
|
44 | +#[Route(path: '/', name: 'ss_entry_point', methods:['GET'])] |
|
45 | 45 | public function decideSecondFactorFlow(Request $request) |
46 | 46 | { |
47 | 47 | $identity = $this->getIdentity(); |
@@ -93,9 +93,9 @@ |
||
93 | 93 | path: '/second-factor/{state}/{secondFactorId}/revoke', |
94 | 94 | name: 'ss_second_factor_revoke', |
95 | 95 | requirements: ['state' => '^(unverified|verified|vetted)$'], |
96 | - methods: ['GET','POST'] |
|
96 | + methods: ['GET', 'POST'] |
|
97 | 97 | )] |
98 | - public function revokeAction(Request $request, string $state, string $secondFactorId): array|Response |
|
98 | + public function revokeAction(Request $request, string $state, string $secondFactorId): array | Response |
|
99 | 99 | { |
100 | 100 | $identity = $this->getIdentity(); |
101 | 101 |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | #[Route( |
38 | 38 | path: '/registration/sms/send-challenge', |
39 | 39 | name: 'ss_registration_sms_send_challenge', |
40 | - methods: ['GET','POST'], |
|
40 | + methods: ['GET', 'POST'], |
|
41 | 41 | )] |
42 | 42 | public function sendChallengeAction(Request $request) |
43 | 43 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | #[Route( |
85 | 85 | path: '/registration/sms/prove-possession', |
86 | 86 | name: 'ss_registration_sms_prove_possession', |
87 | - methods: ['GET','POST'], |
|
87 | + methods: ['GET', 'POST'], |
|
88 | 88 | )] |
89 | 89 | public function provePossessionAction(Request $request) |
90 | 90 | { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | #[Route( |
55 | 55 | path: '/registration/gssf/{provider}/status', |
56 | 56 | name: 'ss_registration_gssf_status_report', |
57 | - defaults: ['authenticationFailed' => false, 'proofOfPossessionFailed'=> false ], |
|
57 | + defaults: ['authenticationFailed' => false, 'proofOfPossessionFailed'=> false], |
|
58 | 58 | methods: ['GET'], |
59 | 59 | )] |
60 | 60 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | #[Route( |
36 | 36 | path: '/registration/yubikey/prove-possession', |
37 | 37 | name: 'ss_registration_yubikey_prove_possession', |
38 | - methods: ['GET','POST'], |
|
38 | + methods: ['GET', 'POST'], |
|
39 | 39 | )] |
40 | 40 | public function provePossessionAction(Request $request) |
41 | 41 | { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | #[Route( |
145 | 145 | path: '/second-factor/{secondFactorId}/self-asserted-token-registration/{recoveryTokenId}', |
146 | 146 | name: 'ss_second_factor_self_asserted_tokens_recovery_token', |
147 | - methods: ['GET','POST'] |
|
147 | + methods: ['GET', 'POST'] |
|
148 | 148 | )] |
149 | 149 | public function selfAssertedTokenRegistrationRecoveryTokenAction( |
150 | 150 | Request $request, |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | #[Route( |
269 | 269 | path: '/second-factor/{secondFactorId}/self-asserted-token-registration/{recoveryTokenId}/authenticate', |
270 | 270 | name: 'ss_second_factor_self_asserted_tokens_recovery_token_sms', |
271 | - methods: ['GET','POST'] |
|
271 | + methods: ['GET', 'POST'] |
|
272 | 272 | )] |
273 | 273 | public function selfAssertedTokenRecoveryTokenSmsAuthenticationAction( |
274 | 274 | Request $request, |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | #[Route( |
342 | 342 | path: '/second-factor/{secondFactorId}/safe-store', |
343 | 343 | name: 'ss_registration_recovery_token_safe_store', |
344 | - methods: ['GET','POST'] |
|
344 | + methods: ['GET', 'POST'] |
|
345 | 345 | )] |
346 | 346 | public function registerCreateRecoveryTokenSafeStoreAction(Request $request, $secondFactorId) |
347 | 347 | { |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | #[Route( |
387 | 387 | path: '/second-factor/{secondFactorId}/sms', |
388 | 388 | name: 'ss_registration_recovery_token_sms', |
389 | - methods: ['GET','POST'], |
|
389 | + methods: ['GET', 'POST'], |
|
390 | 390 | )] |
391 | 391 | public function registerRecoveryTokenSmsAction(Request $request, string $secondFactorId) |
392 | 392 | { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | name: 'ss_second_factor_vetting_types', |
103 | 103 | methods: ['GET'], |
104 | 104 | )] |
105 | - public function displayVettingTypesAction(Request $request, string $secondFactorId): array|Response |
|
105 | + public function displayVettingTypesAction(Request $request, string $secondFactorId): array | Response |
|
106 | 106 | { |
107 | 107 | /** |
108 | 108 | * @var VettingTypeService |