1 | <?php |
||
29 | class SecondFactor |
||
30 | { |
||
31 | /** |
||
32 | * @var string |
||
33 | * |
||
34 | * @ORM\Id |
||
35 | * @ORM\Column(length=36) |
||
36 | */ |
||
37 | public $identityId; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | * |
||
42 | * @ORM\Column(length=200) |
||
43 | */ |
||
44 | public $nameId; |
||
45 | |||
46 | /** |
||
47 | * @var string |
||
48 | * |
||
49 | * @ORM\Column(length=200) |
||
50 | */ |
||
51 | public $institution; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | * |
||
56 | * @ORM\Column(length=36) |
||
57 | */ |
||
58 | public $secondFactorId; |
||
59 | |||
60 | /** |
||
61 | * @var string |
||
62 | * |
||
63 | * @ORM\Column(length=50) |
||
64 | */ |
||
65 | public $secondFactorType; |
||
66 | |||
67 | /** |
||
68 | * @var string |
||
69 | * |
||
70 | * @ORM\Column(length=255) |
||
71 | */ |
||
72 | public $secondFactorIdentifier; |
||
73 | |||
74 | /** |
||
75 | * In which language to display any second factor verification screens. |
||
76 | * |
||
77 | * @var string |
||
78 | * |
||
79 | * @ORM\Column |
||
80 | */ |
||
81 | public $displayLocale; |
||
82 | |||
83 | /** |
||
84 | * No new second factors should be created by the gateway |
||
85 | */ |
||
86 | final private function __construct() |
||
89 | |||
90 | /** |
||
91 | * @param Loa $loa |
||
92 | * @return bool |
||
93 | */ |
||
94 | public function canSatisfy(Loa $loa) |
||
98 | |||
99 | /** |
||
100 | * @return int |
||
101 | */ |
||
102 | public function getLoaLevel() |
||
106 | |||
107 | /** |
||
108 | * @return bool |
||
109 | */ |
||
110 | public function isGssf() |
||
114 | } |
||
115 |