@@ 187-195 (lines=9) @@ | ||
184 | ); |
|
185 | } |
|
186 | ||
187 | private function provePosession($pipeline, $secondFactorId, $identity, $phoneNumber) |
|
188 | { |
|
189 | $command = new ProvePhonePossessionCommand(); |
|
190 | $command->UUID = (string) Uuid::uuid4(); |
|
191 | $command->secondFactorId = $secondFactorId; |
|
192 | $command->identityId = $identity->id; |
|
193 | $command->phoneNumber = $phoneNumber; |
|
194 | $pipeline->process($command); |
|
195 | } |
|
196 | ||
197 | private function verifyEmail($pipeline, $identity, $unverifiedSecondFactor) |
|
198 | { |
|
@@ 197-204 (lines=8) @@ | ||
194 | $pipeline->process($command); |
|
195 | } |
|
196 | ||
197 | private function verifyEmail($pipeline, $identity, $unverifiedSecondFactor) |
|
198 | { |
|
199 | $command = new VerifyEmailCommand(); |
|
200 | $command->UUID = (string) Uuid::uuid4(); |
|
201 | $command->identityId = $identity->id; |
|
202 | $command->verificationNonce = $unverifiedSecondFactor->verificationNonce; |
|
203 | $pipeline->process($command); |
|
204 | } |
|
205 | ||
206 | private function vetSecondFactor($pipeline, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
|
207 | { |