0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-31 06:43:12 +00:00
nextcloud_server/lib/private/Security/FeaturePolicy/FeaturePolicy.php
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00

59 lines
1.5 KiB
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OC\Security\FeaturePolicy;
class FeaturePolicy extends \OCP\AppFramework\Http\FeaturePolicy {
public function getAutoplayDomains(): array {
return $this->autoplayDomains;
}
public function setAutoplayDomains(array $autoplayDomains): void {
$this->autoplayDomains = $autoplayDomains;
}
public function getCameraDomains(): array {
return $this->cameraDomains;
}
public function setCameraDomains(array $cameraDomains): void {
$this->cameraDomains = $cameraDomains;
}
public function getFullscreenDomains(): array {
return $this->fullscreenDomains;
}
public function setFullscreenDomains(array $fullscreenDomains): void {
$this->fullscreenDomains = $fullscreenDomains;
}
public function getGeolocationDomains(): array {
return $this->geolocationDomains;
}
public function setGeolocationDomains(array $geolocationDomains): void {
$this->geolocationDomains = $geolocationDomains;
}
public function getMicrophoneDomains(): array {
return $this->microphoneDomains;
}
public function setMicrophoneDomains(array $microphoneDomains): void {
$this->microphoneDomains = $microphoneDomains;
}
public function getPaymentDomains(): array {
return $this->paymentDomains;
}
public function setPaymentDomains(array $paymentDomains): void {
$this->paymentDomains = $paymentDomains;
}
}