@@ 169-181 (lines=13) @@ | ||
166 | ); |
|
167 | } |
|
168 | ||
169 | public function complyWithRevocation(IdentityId $authorityId) |
|
170 | { |
|
171 | $this->apply( |
|
172 | new CompliedWithUnverifiedSecondFactorRevocationEvent( |
|
173 | $this->identity->getId(), |
|
174 | $this->identity->getInstitution(), |
|
175 | $this->id, |
|
176 | $this->type, |
|
177 | $this->secondFactorIdentifier, |
|
178 | $authorityId |
|
179 | ) |
|
180 | ); |
|
181 | } |
|
182 | ||
183 | /** |
|
184 | * @param DateTime $registrationRequestedAt |
@@ 172-184 (lines=13) @@ | ||
169 | ); |
|
170 | } |
|
171 | ||
172 | public function complyWithRevocation(IdentityId $authorityId) |
|
173 | { |
|
174 | $this->apply( |
|
175 | new CompliedWithVerifiedSecondFactorRevocationEvent( |
|
176 | $this->identity->getId(), |
|
177 | $this->identity->getInstitution(), |
|
178 | $this->id, |
|
179 | $this->type, |
|
180 | $this->secondFactorIdentifier, |
|
181 | $authorityId |
|
182 | ) |
|
183 | ); |
|
184 | } |
|
185 | ||
186 | /** |
|
187 | * @return VettedSecondFactor |
@@ 118-130 (lines=13) @@ | ||
115 | ); |
|
116 | } |
|
117 | ||
118 | public function complyWithRevocation(IdentityId $authorityId) |
|
119 | { |
|
120 | $this->apply( |
|
121 | new CompliedWithVettedSecondFactorRevocationEvent( |
|
122 | $this->identity->getId(), |
|
123 | $this->identity->getInstitution(), |
|
124 | $this->id, |
|
125 | $this->type, |
|
126 | $this->secondFactorIdentifier, |
|
127 | $authorityId |
|
128 | ) |
|
129 | ); |
|
130 | } |
|
131 | ||
132 | protected function applyIdentityForgottenEvent(IdentityForgottenEvent $event) |
|
133 | { |