1
0

PublicPrincipalPlugin.php 412 B

1234567891011121314151617181920
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\DAV\CalDAV\Auth;
  8. use Sabre\DAV\Auth\Plugin;
  9. /**
  10. * Defines the public facing principal option
  11. */
  12. class PublicPrincipalPlugin extends Plugin {
  13. public function getCurrentPrincipal(): ?string {
  14. return 'principals/system/public';
  15. }
  16. }