Skip to content

Commit

Permalink
WebAuthn passwordless authentication
Browse files Browse the repository at this point in the history
Change copyright headers
  • Loading branch information
Nicholas K. Dionysopoulos committed Jul 25, 2019
1 parent 48e6ff6 commit 119d96b
Show file tree
Hide file tree
Showing 21 changed files with 95 additions and 67 deletions.
8 changes: 5 additions & 3 deletions plugins/system/webauthn/Webauthn/CredentialRepository.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\Exception;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\Helper;
Expand Down
8 changes: 5 additions & 3 deletions plugins/system/webauthn/Webauthn/Helper/Integration.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\Helper;
Expand Down
8 changes: 5 additions & 3 deletions plugins/system/webauthn/Webauthn/Helper/Joomla.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\Helper;
Expand Down
8 changes: 5 additions & 3 deletions plugins/system/webauthn/Webauthn/PluginTraits/AjaxHandler.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Akeeba\Passwordless\Webauthn\PluginTraits;
Expand Down
8 changes: 5 additions & 3 deletions plugins/system/webauthn/fields/webauthn.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

// Prevent direct access
Expand Down
6 changes: 0 additions & 6 deletions plugins/system/webauthn/fields/webauthn.xml
@@ -1,10 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ @package AkeebaPasswordlessLogin
~ @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
~ @license GNU General Public License version 3, or later
-->

<form>
<fields name="webauthn" addfieldpath="plugins/system/webauthn/fields">
<fieldset name="webauthn"
Expand Down
1 change: 0 additions & 1 deletion plugins/system/webauthn/language/index.html

This file was deleted.

8 changes: 5 additions & 3 deletions plugins/system/webauthn/layout/akeeba/webauthn/button.php
Expand Up @@ -6,9 +6,11 @@
use Joomla\CMS\Uri\Uri;

/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/**
Expand Down
8 changes: 5 additions & 3 deletions plugins/system/webauthn/layout/akeeba/webauthn/manage.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

use Akeeba\Passwordless\Webauthn\Helper\CredentialsCreation;
Expand Down
11 changes: 5 additions & 6 deletions plugins/system/webauthn/webauthn.php
@@ -1,8 +1,10 @@
<?php
/**
* @package AkeebaPasswordlessLogin
* @copyright Copyright (c)2018-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
* @package Joomla.Plugin
* @subpackage System.updatenotification
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

use Akeeba\Passwordless\Webauthn\Helper\Joomla;
Expand Down Expand Up @@ -72,9 +74,6 @@ public function __construct($subject, array $config = [])
// Register a debug log file writer
Joomla::addLogger('system');

// Load the Composer autoloader
require_once __DIR__ . '/vendor/autoload.php';

// Setup login module interception
$this->setupLoginModuleButtons();
$this->setupUserLoginPageButtons();
Expand Down

0 comments on commit 119d96b

Please sign in to comment.