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
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-05-31 23:21:32 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-05-31 23:21:32 +0300
commit61e8339c21eff8c5b862d3cd493aa76bda46d7ee (patch)
tree2f24ee105a9015d6dae7e6bf9fbfed8ddf80bfca /appinfo
first working version
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php21
-rw-r--r--appinfo/application.php33
-rw-r--r--appinfo/info.xml22
3 files changed, 76 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
new file mode 100644
index 0000000..db300cb
--- /dev/null
+++ b/appinfo/app.php
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * @author Christoph Wurst <christoph@winzerhof-wurst.at>
+ *
+ * ownCloud - Two-factor SMS
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * 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, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+include_once __DIR__ . '/../vendor/autoload.php';
diff --git a/appinfo/application.php b/appinfo/application.php
new file mode 100644
index 0000000..b1ead40
--- /dev/null
+++ b/appinfo/application.php
@@ -0,0 +1,33 @@
+<?php
+
+namespace OCA\TwoFactorSms\AppInfo;
+
+/**
+ * @author Christoph Wurst <christoph@winzerhof-wurst.at>
+ *
+ * ownCloud - Two-factor SMS
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * 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, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+use OCP\AppFramework\App;
+
+class Application extends App {
+
+ public function __construct($urlParams = []) {
+ parent::__construct('twofactor_sms', $urlParams);
+
+ $container = $this->getContainer();
+ }
+
+}
diff --git a/appinfo/info.xml b/appinfo/info.xml
new file mode 100644
index 0000000..08fd8bb
--- /dev/null
+++ b/appinfo/info.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<info>
+ <id>twofactor_sms</id>
+ <name>Two Factor SMS Provider</name>
+ <description>A Two-Factor-Auth Provider for ownCloud 9.1</description>
+ <licence>AGPL</licence>
+ <author>Christoph Wurst</author>
+ <version>0.0.1</version>
+ <namespace>TwoFactorSms</namespace>
+ <category>other</category>
+ <types>
+ <authentication/>
+ </types>
+
+ <two-factor-providers>
+ <provider>OCA\TwoFactorSms\Provider\SmsProvider</provider>
+ </two-factor-providers>
+
+ <dependencies>
+ <owncloud min-version="9.1" max-version="9.1" />
+ </dependencies>
+</info>