1 | <?php |
||
14 | class Saml2Container extends AbstractContainer implements EnsureSAMLPlugin |
||
15 | { |
||
16 | |||
17 | const TEMPLATE_PATH = 'saml-core/_components/post-binding-submit.twig'; |
||
18 | |||
19 | /** |
||
20 | * @var \Psr\Log\LoggerInterface |
||
21 | */ |
||
22 | protected $logger; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * @var AbstractPlugin |
||
27 | */ |
||
28 | protected $plugin; |
||
29 | |||
30 | /** |
||
31 | * Create a new SimpleSAMLphp compatible container. |
||
32 | */ |
||
33 | public function __construct(AbstractPlugin $plugin) |
||
40 | |||
41 | public function getPlugin(): AbstractPlugin |
||
45 | |||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | * @return \Psr\Log\LoggerInterface |
||
50 | */ |
||
51 | public function getLogger(): \Psr\Log\LoggerInterface |
||
55 | |||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | * @return string |
||
60 | */ |
||
61 | public function generateId(): string |
||
65 | |||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | * @return void |
||
70 | */ |
||
71 | public function debugMessage($message, $type): void |
||
79 | |||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | * @param string $url |
||
84 | * @param array $data |
||
85 | * @return void |
||
86 | */ |
||
87 | public function redirect($url, $data = []): void |
||
96 | |||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | * @param string $url |
||
101 | * @param array $data |
||
102 | * @return void |
||
103 | */ |
||
104 | public function postRedirect($url, $data = []): void |
||
123 | |||
124 | /** |
||
125 | * @inheritDoc |
||
126 | */ |
||
127 | public function getTempDir() : string |
||
136 | |||
137 | |||
138 | /** |
||
139 | * @inheritDoc |
||
140 | */ |
||
141 | public function writeFile(string $filename, string $data, int $mode = null) : void |
||
155 | |||
156 | /** |
||
157 | * SAML Plugin Utils |
||
158 | */ |
||
159 | |||
160 | /** |
||
161 | * @return string |
||
162 | */ |
||
163 | protected function getTemplatePath() |
||
167 | } |
||
168 |