@@ -93,6 +93,11 @@ discard block |
||
| 93 | 93 | return true; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @param string $tokenType |
|
| 98 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
| 99 | + * @param string $secondFactorId |
|
| 100 | + */ |
|
| 96 | 101 | protected function vetSecondFactor($tokenType, $actorId, $identity, $secondFactorId, $verifiedSecondFactor, $phoneNumber) |
| 97 | 102 | { |
| 98 | 103 | $command = new VetSecondFactorCommand(); |
@@ -117,6 +122,9 @@ discard block |
||
| 117 | 122 | $this->enricher->setMetadata($metadata); |
| 118 | 123 | } |
| 119 | 124 | |
| 125 | + /** |
|
| 126 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
| 127 | + */ |
|
| 120 | 128 | protected function verifyEmail($identity, $unverifiedSecondFactor) |
| 121 | 129 | { |
| 122 | 130 | $command = new VerifyEmailCommand(); |
@@ -137,6 +137,10 @@ |
||
| 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(); |
@@ -136,6 +136,10 @@ |
||
| 136 | 136 | ); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | + /** |
|
| 140 | + * @param string $secondFactorId |
|
| 141 | + * @param \Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\Identity $identity |
|
| 142 | + */ |
|
| 139 | 143 | private function provePossession($secondFactorId, $identity, $phoneNumber) |
| 140 | 144 | { |
| 141 | 145 | $command = new ProveYubikeyPossessionCommand(); |