1 | <?php |
||
30 | final class AllowedSecondFactor |
||
31 | { |
||
32 | /** |
||
33 | * @ORM\Id |
||
34 | * @ORM\Column(type="stepup_configuration_institution") |
||
35 | * |
||
36 | * @var Institution |
||
37 | */ |
||
38 | public $institution; |
||
39 | |||
40 | /** |
||
41 | * @ORM\Id |
||
42 | * @ORM\Column(type="stepup_second_factor_type") |
||
43 | * |
||
44 | * @var SecondFactorType |
||
45 | */ |
||
46 | public $secondFactorType; |
||
47 | |||
48 | private function __construct() |
||
51 | |||
52 | /** |
||
53 | * @param Institution $institution |
||
54 | * @param SecondFactorType $secondFactorType |
||
55 | * @return AllowedSecondFactor |
||
56 | */ |
||
57 | public static function createFrom(Institution $institution, SecondFactorType $secondFactorType) |
||
65 | } |
||
66 |