TwoFactorException.php 444 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 ownCloud GmbH.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCP\Authentication\TwoFactorAuth;
  8. use Exception;
  9. /**
  10. * Two Factor Authentication failed
  11. *
  12. * It defines an Exception a 2FA app can
  13. * throw in case of an error. The 2FA Controller will catch this exception and
  14. * display this error.
  15. *
  16. * @since 12
  17. */
  18. class TwoFactorException extends Exception {
  19. }