@@ -101,6 +101,12 @@ |
||
| 101 | 101 | return true; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $tokenType |
|
| 106 | + * @param string $actorId |
|
| 107 | + * @param string $secondFactorId |
|
| 108 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\VerifiedSecondFactor $verifiedSecondFactor |
|
| 109 | + */ |
|
| 104 | 110 | protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
| 105 | 111 | { |
| 106 | 112 | $command = new VetSecondFactorCommand(); |
@@ -159,6 +159,9 @@ discard block |
||
| 159 | 159 | ); |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | + /** |
|
| 163 | + * @param string $secondFactorId |
|
| 164 | + */ |
|
| 162 | 165 | private function provePossession($secondFactorId, $identity, $phoneNumber) |
| 163 | 166 | { |
| 164 | 167 | $command = new ProvePhonePossessionCommand(); |
@@ -169,6 +172,9 @@ discard block |
||
| 169 | 172 | $this->process($command); |
| 170 | 173 | } |
| 171 | 174 | |
| 175 | + /** |
|
| 176 | + * @param UnverifiedSecondFactor $unverifiedSecondFactor |
|
| 177 | + */ |
|
| 172 | 178 | private function verifyEmail($identity, $unverifiedSecondFactor) |
| 173 | 179 | { |
| 174 | 180 | $command = new VerifyEmailCommand(); |