@@ -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(); |
@@ -108,6 +108,11 @@ |
||
108 | 108 | return true; |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @param string $tokenType |
|
113 | + * @param string $secondFactorId |
|
114 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\VerifiedSecondFactor $verifiedSecondFactor |
|
115 | + */ |
|
111 | 116 | protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
112 | 117 | { |
113 | 118 | $command = new VetSecondFactorCommand(); |