| @@ 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 | { |
|
| @@ 159-170 (lines=12) @@ | ||
| 156 | ); |
|
| 157 | } |
|
| 158 | ||
| 159 | public function revoke() |
|
| 160 | { |
|
| 161 | $this->apply( |
|
| 162 | new VerifiedSecondFactorRevokedEvent( |
|
| 163 | $this->identity->getId(), |
|
| 164 | $this->identity->getInstitution(), |
|
| 165 | $this->id, |
|
| 166 | $this->type, |
|
| 167 | $this->secondFactorIdentifier |
|
| 168 | ) |
|
| 169 | ); |
|
| 170 | } |
|
| 171 | ||
| 172 | public function complyWithRevocation(IdentityId $authorityId) |
|
| 173 | { |
|