IProvidesIcons.php 676 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Authentication\TwoFactorAuth;
  8. /**
  9. * Interface for two-factor providers that provide dark and light provider
  10. * icons
  11. *
  12. * @since 15.0.0
  13. */
  14. interface IProvidesIcons extends IProvider {
  15. /**
  16. * Get the path to the light (white) icon of this provider
  17. *
  18. * @return String
  19. *
  20. * @since 15.0.0
  21. */
  22. public function getLightIcon(): String;
  23. /**
  24. * Get the path to the dark (black) icon of this provider
  25. *
  26. * @return String
  27. *
  28. * @since 15.0.0
  29. */
  30. public function getDarkIcon(): String;
  31. }