|
@@ 213-221 (lines=9) @@
|
| 210 |
|
); |
| 211 |
|
} |
| 212 |
|
|
| 213 |
|
private function provePossession($secondFactorId, $identity, $phoneNumber) |
| 214 |
|
{ |
| 215 |
|
$command = new ProvePhonePossessionCommand(); |
| 216 |
|
$command->UUID = (string) Uuid::uuid4(); |
| 217 |
|
$command->secondFactorId = $secondFactorId; |
| 218 |
|
$command->identityId = $identity->id; |
| 219 |
|
$command->phoneNumber = $phoneNumber; |
| 220 |
|
$this->pipeline->process($command); |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
private function verifyEmail($identity, $unverifiedSecondFactor) |
| 224 |
|
{ |
|
@@ 223-230 (lines=8) @@
|
| 220 |
|
$this->pipeline->process($command); |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
private function verifyEmail($identity, $unverifiedSecondFactor) |
| 224 |
|
{ |
| 225 |
|
$command = new VerifyEmailCommand(); |
| 226 |
|
$command->UUID = (string) Uuid::uuid4(); |
| 227 |
|
$command->identityId = $identity->id; |
| 228 |
|
$command->verificationNonce = $unverifiedSecondFactor->verificationNonce; |
| 229 |
|
$this->pipeline->process($command); |
| 230 |
|
} |
| 231 |
|
|
| 232 |
|
private function vetSecondFactor($identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
| 233 |
|
{ |