Skip to content

Commit

Permalink
add TwoFactor_Email app
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophWurst committed May 11, 2016
1 parent ef33b39 commit f3bde39
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
!/apps/user_ldap
!/apps/provisioning_api
!/apps/systemtags
!/apps/twofactor_email
!/apps/updatenotification
/apps/files_external/3rdparty/irodsphp/PHPUnitTest
/apps/files_external/3rdparty/irodsphp/web
Expand Down
19 changes: 19 additions & 0 deletions apps/twofactor_email/appinfo/info.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<info>
<id>twofactoremail</id>
<name>Two Factor Email Provider</name>
<description>An Two-Factor-Auth Provider for ownCloud 9.1+</description>
<licence>AGPL</licence>
<author>Christoph Wurst</author>
<version>0.0.1</version>
<namespace>TwoFactor_Email</namespace>
<category>other</category>

<two-factor-providers>
<provider>OCA\TwoFactor_Email\Provider\TwoFactorEmailProvider</provider>
</two-factor-providers>

<dependencies>
<owncloud min-version="9.1" max-version="9.1" />
</dependencies>
</info>
29 changes: 29 additions & 0 deletions apps/twofactor_email/lib/provider/TwoFactorEmailProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

/**
* @author Christoph Wurst <[email protected]>
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
* @license AGPL-3.0
*
* 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/>
*
*/

namespace OCA\TwoFactor_Email\Provider;

use OCP\Authentication\TwoFactorAuth\IProvider;

class TwoFactorEmailProvider implements IProvider {

}
13 changes: 13 additions & 0 deletions apps/twofactor_email/tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* ownCloud - twofactoremail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Christoph Wurst <[email protected]>
* @copyright Christoph Wurst 2016
*/

require_once __DIR__ . '/../../../tests/bootstrap.php';
require_once __DIR__ . '/../appinfo/autoload.php';

0 comments on commit f3bde39

Please sign in to comment.