From ee2b3e78469a7379e14ea3a1b8e28de4c32308e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrick=20M=C3=BCller?= <p.mueller@pcsg.de>
Date: Mon, 30 Jan 2017 13:56:56 +0100
Subject: [PATCH] refactor: initial commit

---
 composer.json                   | 48 ++++++++++++++++-----------------
 src/QUI/Auth/Google2Fa/Auth.php | 18 +++++++++++++
 2 files changed, 42 insertions(+), 24 deletions(-)
 create mode 100644 src/QUI/Auth/Google2Fa/Auth.php

diff --git a/composer.json b/composer.json
index c8043f6..443b2e5 100644
--- a/composer.json
+++ b/composer.json
@@ -1,28 +1,28 @@
 {
-    "name" : "quiqqer/authgoogle2fa",
-    "type" : "quiqqer-module",
-    "description" : "QUIQQER Authentication with Google Authenticator",
-    "version" : "dev-dev",
-    "license" : "GPL-3.0+",
-    "authors" : [
-        {
-            "name": "Patrick Müller",
-            "email": "p.mueller@pcsg.de",
-            "homepage": "http://www.pcsg.de",
-            "role": "Developer"
-        }
-    ],
-    "support" : {
-        "email": "support@pcsg.de",
-        "url": "http://www.pcsg.de"
-    },
-    "require": {
-        
+  "name": "quiqqer/authgoogle2fa",
+  "type": "quiqqer-module",
+  "description": "QUIQQER Authentication with Google Authenticator",
+  "version": "dev-dev",
+  "license": "GPL-3.0+",
+  "authors": [
+    {
+      "name": "Patrick Müller",
+      "email": "p.mueller@pcsg.de",
+      "homepage": "http://www.pcsg.de",
+      "role": "Developer"
     }
-    ,"autoload": {
-  "psr-4": {
+  ],
+  "support": {
+    "email": "support@pcsg.de",
+    "url": "http://www.pcsg.de"
+  },
+  "require": {
+    "pragmarx/google2fa": "1.*",
+    "bacon/bacon-qr-code": "~1.0"
+  },
+  "autoload": {
+    "psr-4": {
       "QUI\\Auth\\Google2Fa\\": "src/QUI/Auth/Google2Fa"
-   }
-}
-
+    }
+  }
 }
diff --git a/src/QUI/Auth/Google2Fa/Auth.php b/src/QUI/Auth/Google2Fa/Auth.php
new file mode 100644
index 0000000..24c5bc4
--- /dev/null
+++ b/src/QUI/Auth/Google2Fa/Auth.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace QUI\Authe\Google2Fa;
+
+/**
+ * Class Auth
+ *
+ * Authentication handler for Google Authenticator
+ *
+ * @package QUI\Authe\Google2Fa
+ */
+class Auth
+{
+    public static function auth($authData)
+    {
+
+    }
+}
-- 
GitLab