1
0

IProvidesCustomCSP.php 430 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Authentication\TwoFactorAuth;
  8. use OCP\AppFramework\Http\ContentSecurityPolicy;
  9. /**
  10. * @since 13.0.0
  11. */
  12. interface IProvidesCustomCSP {
  13. /**
  14. * @return ContentSecurityPolicy
  15. *
  16. * @since 13.0.0
  17. */
  18. public function getCSP(): ContentSecurityPolicy;
  19. }