1
0

IStore.php 574 B

1234567891011121314151617181920212223242526
  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\LoginCredentials;
  8. use OCP\Authentication\Exceptions\CredentialsUnavailableException;
  9. /**
  10. * @since 12
  11. */
  12. interface IStore {
  13. /**
  14. * Get login credentials of the currently logged in user
  15. *
  16. * @since 12
  17. *
  18. * @throws CredentialsUnavailableException
  19. * @return ICredentials the login credentials of the current user
  20. */
  21. public function getLoginCredentials(): ICredentials;
  22. }