1 | <?php |
||
33 | class ContentSecurityPolicy extends \OCP\AppFramework\Http\ContentSecurityPolicy { |
||
|
|||
34 | /** |
||
35 | * @return boolean |
||
36 | */ |
||
37 | public function isInlineScriptAllowed(): bool { |
||
40 | |||
41 | /** |
||
42 | * @param boolean $inlineScriptAllowed |
||
43 | */ |
||
44 | public function setInlineScriptAllowed(bool $inlineScriptAllowed) { |
||
47 | |||
48 | /** |
||
49 | * @return boolean |
||
50 | */ |
||
51 | public function isEvalScriptAllowed(): bool { |
||
54 | |||
55 | /** |
||
56 | * @param boolean $evalScriptAllowed |
||
57 | */ |
||
58 | public function setEvalScriptAllowed(bool $evalScriptAllowed) { |
||
61 | |||
62 | /** |
||
63 | * @return array |
||
64 | */ |
||
65 | public function getAllowedScriptDomains(): array { |
||
68 | |||
69 | /** |
||
70 | * @param array $allowedScriptDomains |
||
71 | */ |
||
72 | public function setAllowedScriptDomains(array $allowedScriptDomains) { |
||
75 | |||
76 | /** |
||
77 | * @return boolean |
||
78 | */ |
||
79 | public function isInlineStyleAllowed(): bool { |
||
82 | |||
83 | /** |
||
84 | * @param boolean $inlineStyleAllowed |
||
85 | */ |
||
86 | public function setInlineStyleAllowed(bool $inlineStyleAllowed) { |
||
89 | |||
90 | /** |
||
91 | * @return array |
||
92 | */ |
||
93 | public function getAllowedStyleDomains(): array { |
||
96 | |||
97 | /** |
||
98 | * @param array $allowedStyleDomains |
||
99 | */ |
||
100 | public function setAllowedStyleDomains(array $allowedStyleDomains) { |
||
103 | |||
104 | /** |
||
105 | * @return array |
||
106 | */ |
||
107 | public function getAllowedImageDomains(): array { |
||
110 | |||
111 | /** |
||
112 | * @param array $allowedImageDomains |
||
113 | */ |
||
114 | public function setAllowedImageDomains(array $allowedImageDomains) { |
||
117 | |||
118 | /** |
||
119 | * @return array |
||
120 | */ |
||
121 | public function getAllowedConnectDomains(): array { |
||
124 | |||
125 | /** |
||
126 | * @param array $allowedConnectDomains |
||
127 | */ |
||
128 | public function setAllowedConnectDomains(array $allowedConnectDomains) { |
||
131 | |||
132 | /** |
||
133 | * @return array |
||
134 | */ |
||
135 | public function getAllowedMediaDomains(): array { |
||
138 | |||
139 | /** |
||
140 | * @param array $allowedMediaDomains |
||
141 | */ |
||
142 | public function setAllowedMediaDomains(array $allowedMediaDomains) { |
||
145 | |||
146 | /** |
||
147 | * @return array |
||
148 | */ |
||
149 | public function getAllowedObjectDomains(): array { |
||
152 | |||
153 | /** |
||
154 | * @param array $allowedObjectDomains |
||
155 | */ |
||
156 | public function setAllowedObjectDomains(array $allowedObjectDomains) { |
||
159 | |||
160 | /** |
||
161 | * @return array |
||
162 | */ |
||
163 | public function getAllowedFrameDomains(): array { |
||
166 | |||
167 | /** |
||
168 | * @param array $allowedFrameDomains |
||
169 | */ |
||
170 | public function setAllowedFrameDomains(array $allowedFrameDomains) { |
||
173 | |||
174 | /** |
||
175 | * @return array |
||
176 | */ |
||
177 | public function getAllowedFontDomains(): array { |
||
180 | |||
181 | /** |
||
182 | * @param array $allowedFontDomains |
||
183 | */ |
||
184 | public function setAllowedFontDomains($allowedFontDomains) { |
||
187 | |||
188 | /** |
||
189 | * @return array |
||
190 | * @deprecated 15.0.0 use FrameDomains and WorkerSrcDomains |
||
191 | */ |
||
192 | public function getAllowedChildSrcDomains(): array { |
||
195 | |||
196 | /** |
||
197 | * @param array $allowedChildSrcDomains |
||
198 | * @deprecated 15.0.0 use FrameDomains and WorkerSrcDomains |
||
199 | */ |
||
200 | public function setAllowedChildSrcDomains($allowedChildSrcDomains) { |
||
203 | |||
204 | /** |
||
205 | * @return array |
||
206 | */ |
||
207 | public function getAllowedFrameAncestors(): array { |
||
210 | |||
211 | /** |
||
212 | * @param array $allowedFrameAncestors |
||
213 | */ |
||
214 | public function setAllowedFrameAncestors($allowedFrameAncestors) { |
||
217 | |||
218 | public function getAllowedWorkerSrcDomains(): array { |
||
221 | |||
222 | public function setAllowedWorkerSrcDomains(array $allowedWorkerSrcDomains) { |
||
225 | |||
226 | public function getReportTo(): array { |
||
229 | |||
230 | public function setReportTo(array $reportTo) { |
||
233 | |||
234 | } |
||
235 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.