| @@ 156-167 (lines=12) @@ | ||
| 153 | ); |
|
| 154 | } |
|
| 155 | ||
| 156 | public function revoke() |
|
| 157 | { |
|
| 158 | $this->apply( |
|
| 159 | new UnverifiedSecondFactorRevokedEvent( |
|
| 160 | $this->identity->getId(), |
|
| 161 | $this->identity->getInstitution(), |
|
| 162 | $this->id, |
|
| 163 | $this->type, |
|
| 164 | $this->secondFactorIdentifier |
|
| 165 | ) |
|
| 166 | ); |
|
| 167 | } |
|
| 168 | ||
| 169 | public function complyWithRevocation(IdentityId $authorityId) |
|
| 170 | { |
|
| @@ 91-102 (lines=12) @@ | ||
| 88 | return $this->id; |
|
| 89 | } |
|
| 90 | ||
| 91 | public function revoke() |
|
| 92 | { |
|
| 93 | $this->apply( |
|
| 94 | new VettedSecondFactorRevokedEvent( |
|
| 95 | $this->identity->getId(), |
|
| 96 | $this->identity->getInstitution(), |
|
| 97 | $this->id, |
|
| 98 | $this->type, |
|
| 99 | $this->secondFactorIdentifier |
|
| 100 | ) |
|
| 101 | ); |
|
| 102 | } |
|
| 103 | ||
| 104 | public function complyWithRevocation(IdentityId $authorityId) |
|
| 105 | { |
|
| @@ 176-187 (lines=12) @@ | ||
| 173 | ); |
|
| 174 | } |
|
| 175 | ||
| 176 | public function revoke() |
|
| 177 | { |
|
| 178 | $this->apply( |
|
| 179 | new VerifiedSecondFactorRevokedEvent( |
|
| 180 | $this->identity->getId(), |
|
| 181 | $this->identity->getInstitution(), |
|
| 182 | $this->id, |
|
| 183 | $this->type, |
|
| 184 | $this->secondFactorIdentifier |
|
| 185 | ) |
|
| 186 | ); |
|
| 187 | } |
|
| 188 | ||
| 189 | public function complyWithRevocation(IdentityId $authorityId) |
|
| 190 | { |
|