| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | class RevokeOwnSecondFactorCommand extends AbstractCommand implements SelfServiceExecutable |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * The ID of an existing identity. |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | #[Assert\NotBlank] |
||
| 35 | #[Assert\Type(type: 'string')] |
||
| 36 | public string $identityId; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * The ID of a verified or vetted second factor. |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | #[Assert\NotBlank] |
||
| 43 | #[Assert\Type(type: 'string')] |
||
| 44 | public string $secondFactorId; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getIdentityId(): string |
||
| 54 |