diff --git a/composer.json b/composer.json index c8043f623254038a07567d3d56642c23d4fbb4d9..443b2e5fd2997b9762da451efe3c81fc9728767b 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 0000000000000000000000000000000000000000..24c5bc41de7fffde17fd9dda199db059169177b1 --- /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) + { + + } +}