2016-11-14 09:39:19 -05:00
|
|
|
<?php
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-03-26 05:18:21 -04:00
|
|
|
declare(strict_types=1);
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2016-11-14 09:39:19 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud GmbH.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2016-11-14 09:39:19 -05:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Authentication\TwoFactorAuth;
|
|
|
|
|
|
2017-01-03 03:57:52 -05:00
|
|
|
use Exception;
|
|
|
|
|
|
2016-11-14 09:39:19 -05:00
|
|
|
/**
|
|
|
|
|
* Two Factor Authentication failed
|
2017-01-03 03:57:52 -05:00
|
|
|
*
|
|
|
|
|
* It defines an Exception a 2FA app can
|
|
|
|
|
* throw in case of an error. The 2FA Controller will catch this exception and
|
|
|
|
|
* display this error.
|
|
|
|
|
*
|
|
|
|
|
* @since 12
|
2016-11-14 09:39:19 -05:00
|
|
|
*/
|
2017-01-03 03:57:52 -05:00
|
|
|
class TwoFactorException extends Exception {
|
|
|
|
|
}
|