2017-08-24 08:00:33 -04:00
|
|
|
<?php
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-03-26 05:18:21 -04:00
|
|
|
declare(strict_types=1);
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2017-08-24 08:00:33 -04:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-08-24 08:00:33 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Authentication\TwoFactorAuth;
|
|
|
|
|
|
|
|
|
|
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @since 13.0.0
|
|
|
|
|
*/
|
|
|
|
|
interface IProvidesCustomCSP {
|
|
|
|
|
/**
|
|
|
|
|
* @return ContentSecurityPolicy
|
|
|
|
|
*
|
|
|
|
|
* @since 13.0.0
|
|
|
|
|
*/
|
2018-03-26 05:18:21 -04:00
|
|
|
public function getCSP(): ContentSecurityPolicy;
|
2017-08-24 08:00:33 -04:00
|
|
|
}
|