| 1 | <?php |
||
| 25 | class ProveU2fDevicePossessionCommand extends AbstractCommand implements SelfServiceExecutable |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * The ID of an existing identity. |
||
| 29 | * |
||
| 30 | * @Assert\NotBlank() |
||
| 31 | * @Assert\Type(type="string") |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | public $identityId; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The ID of the second factor to create. |
||
| 39 | * |
||
| 40 | * @Assert\NotBlank() |
||
| 41 | * @Assert\Type(type="string") |
||
| 42 | * |
||
| 43 | * @var string |
||
| 44 | */ |
||
| 45 | public $secondFactorId; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * The key handle issued by the U2F device |
||
| 49 | * |
||
| 50 | * @Assert\NotBlank() |
||
| 51 | * @Assert\Type(type="string") |
||
| 52 | * |
||
| 53 | * @var string |
||
| 54 | */ |
||
| 55 | public $keyHandle; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | public function getIdentityId() |
||
| 64 | } |
||
| 65 |