1 | <?php |
||
10 | class FixtureService |
||
11 | { |
||
12 | private $secondFactorRepository; |
||
13 | |||
14 | private $samlEntityRepository; |
||
15 | |||
16 | private $whitelistRepository; |
||
17 | |||
18 | public function __construct( |
||
27 | |||
28 | /** |
||
29 | * @param string $nameId |
||
30 | * @param string $institution |
||
31 | * @return array |
||
32 | * @throws Exception |
||
33 | */ |
||
34 | public function registerYubikeyToken($nameId, $institution) |
||
38 | |||
39 | /** |
||
40 | * @param string $nameId |
||
41 | * @param string $institution |
||
42 | * @return array |
||
43 | * @throws Exception |
||
44 | */ |
||
45 | public function registerSmsToken($nameId, $institution) |
||
49 | |||
50 | /** |
||
51 | * @param string $entityId |
||
52 | * @param string $certificate |
||
53 | * @param bool $sfoEnabled |
||
54 | * @return array |
||
55 | * @throws Exception |
||
56 | */ |
||
57 | public function registerSP($entityId, $certificate, $sfoEnabled = false) |
||
61 | |||
62 | /** |
||
63 | * @param string $entityId |
||
64 | * @param string $certificate |
||
65 | * @return array |
||
66 | * @throws Exception |
||
67 | */ |
||
68 | public function registerIdp($entityId, $certificate) |
||
72 | |||
73 | /** |
||
74 | * @param string $institution |
||
75 | * @return array |
||
76 | * @throws Exception |
||
77 | */ |
||
78 | public function whitelist($institution) |
||
82 | |||
83 | public function registerTiqrToken($nameId, $institution) |
||
87 | } |
||
88 |