@@ -137,6 +137,10 @@ discard block |
||
137 | 137 | ); |
138 | 138 | } |
139 | 139 | |
140 | + /** |
|
141 | + * @param string $secondFactorId |
|
142 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
143 | + */ |
|
140 | 144 | private function provePossession($secondFactorId, $identity, $phoneNumber) |
141 | 145 | { |
142 | 146 | $command = new ProvePhonePossessionCommand(); |
@@ -147,6 +151,9 @@ discard block |
||
147 | 151 | $this->process($command); |
148 | 152 | } |
149 | 153 | |
154 | + /** |
|
155 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
156 | + */ |
|
150 | 157 | private function verifyEmail($identity, $unverifiedSecondFactor) |
151 | 158 | { |
152 | 159 | $command = new VerifyEmailCommand(); |