@@ -184,6 +184,9 @@ discard block |
||
| 184 | 184 | ); |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | + /** |
|
| 188 | + * @param string $secondFactorId |
|
| 189 | + */ |
|
| 187 | 190 | private function provePosession($pipeline, $secondFactorId, $identity, $phoneNumber) |
| 188 | 191 | { |
| 189 | 192 | $command = new ProvePhonePossessionCommand(); |
@@ -194,6 +197,9 @@ discard block |
||
| 194 | 197 | $pipeline->process($command); |
| 195 | 198 | } |
| 196 | 199 | |
| 200 | + /** |
|
| 201 | + * @param UnverifiedSecondFactor $unverifiedSecondFactor |
|
| 202 | + */ |
|
| 197 | 203 | private function verifyEmail($pipeline, $identity, $unverifiedSecondFactor) |
| 198 | 204 | { |
| 199 | 205 | $command = new VerifyEmailCommand(); |
@@ -203,6 +209,10 @@ discard block |
||
| 203 | 209 | $pipeline->process($command); |
| 204 | 210 | } |
| 205 | 211 | |
| 212 | + /** |
|
| 213 | + * @param string $secondFactorId |
|
| 214 | + * @param VerifiedSecondFactor $verifiedSecondFactor |
|
| 215 | + */ |
|
| 206 | 216 | private function vetSecondFactor($pipeline, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
| 207 | 217 | { |
| 208 | 218 | $command = new VetSecondFactorCommand(); |