1
0

IActivatableAtLogin.php 456 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Authentication\TwoFactorAuth;
  8. use OCP\IUser;
  9. /**
  10. * @since 17.0.0
  11. */
  12. interface IActivatableAtLogin extends IProvider {
  13. /**
  14. * @param IUser $user
  15. *
  16. * @return ILoginSetupProvider
  17. *
  18. * @since 17.0.0
  19. */
  20. public function getLoginSetup(IUser $user): ILoginSetupProvider;
  21. }