Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_gateway.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-19 09:48:32 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-19 09:48:32 +0300
commitef0c80b84891ac82f53ea0176eacacd58c8eecde (patch)
tree3eda6096bdd43469ed5421436ad2f0d5b3dcc492 /lib
parent51919cd0a9a95d97785baad9a064ea779ea253a2 (diff)
Remove dead TestGateway classfix/remove-dead-class
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/Gateway/TestGateway.php50
1 files changed, 0 insertions, 50 deletions
diff --git a/lib/Service/Gateway/TestGateway.php b/lib/Service/Gateway/TestGateway.php
deleted file mode 100644
index 7d7f34c..0000000
--- a/lib/Service/Gateway/TestGateway.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/**
- * @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
- *
- * @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-namespace OCA\TwoFactorGateway\Service\Gateway;
-
-use OCA\TwoFactorGateway\Service\Gateway\IGateway;
-use OCP\ILogger;
-use OCP\IUser;
-
-class TestGateway implements IGateway {
-
- /** @var ILogger */
- private $logger;
-
- public function __construct(ILogger $logger) {
- $this->logger = $logger;
- }
-
- public function send(IUser $user, string $idenfier, string $message) {
- $this->logger->info("message to <$idenfier>: $message");
- }
-
- /**
- * @return string
- */
- public function getProviderDescription(): string {
- return 'Authenticate via SMS (test)';
- }
-}