Use valid PSR4 namespace
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Родитель
315065b16a
Коммит
d05eb76b2c
|
@ -6,11 +6,11 @@
|
|||
<licence>agpl</licence>
|
||||
<author>Christoph Wurst</author>
|
||||
<version>0.0.3</version>
|
||||
<namespace>TwoFactor_U2F</namespace>
|
||||
<namespace>TwoFactorU2F</namespace>
|
||||
<category>tools</category>
|
||||
|
||||
<two-factor-providers>
|
||||
<provider>OCA\TwoFactor_U2F\Provider\U2FProvider</provider>
|
||||
<provider>OCA\TwoFactorU2F\Provider\U2FProvider</provider>
|
||||
</two-factor-providers>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(function (OCA, u2f) {
|
||||
'use strict';
|
||||
|
||||
OCA.TwoFactor_U2F = OCA.TwoFactor_U2F || {};
|
||||
OCA.TwoFactorU2F = OCA.TwoFactorU2F || {};
|
||||
|
||||
$(function () {
|
||||
var req = JSON.parse($('#u2f-auth').val());
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
* @copyright Christoph Wurst 2016
|
||||
*/
|
||||
|
||||
namespace OCA\TwoFactor_U2F\Controller;
|
||||
namespace OCA\TwoFactorU2F\Controller;
|
||||
|
||||
require_once(__DIR__ . '/../../vendor/yubico/u2flib-server/src/u2flib_server/U2F.php');
|
||||
|
||||
use OCA\TwoFactor_U2F\Service\U2FManager;
|
||||
use OCA\TwoFactorU2F\Service\U2FManager;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\IRequest;
|
||||
use OCP\IUserSession;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* @copyright Christoph Wurst 2016
|
||||
*/
|
||||
|
||||
namespace OCA\TwoFactor_U2F\Db;
|
||||
namespace OCA\TwoFactorU2F\Db;
|
||||
|
||||
use JsonSerializable;
|
||||
use OCP\AppFramework\Db\Entity;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* @copyright Christoph Wurst 2016
|
||||
*/
|
||||
|
||||
namespace OCA\TwoFactor_U2F\Db;
|
||||
namespace OCA\TwoFactorU2F\Db;
|
||||
|
||||
use OCP\AppFramework\Db\Mapper;
|
||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
* @copyright Christoph Wurst 2016
|
||||
*/
|
||||
|
||||
namespace OCA\TwoFactor_U2F\Provider;
|
||||
namespace OCA\TwoFactorU2F\Provider;
|
||||
|
||||
use OCA\TwoFactor_U2F\Service\U2FManager;
|
||||
use OCA\TwoFactorU2F\Service\U2FManager;
|
||||
use OCP\Authentication\TwoFactorAuth\IProvider;
|
||||
use OCP\IL10N;
|
||||
use OCP\IUser;
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
* @copyright Christoph Wurst 2016
|
||||
*/
|
||||
|
||||
namespace OCA\TwoFactor_U2F\Service;
|
||||
namespace OCA\TwoFactorU2F\Service;
|
||||
|
||||
require_once(__DIR__ . '/../../vendor/yubico/u2flib-server/src/u2flib_server/U2F.php');
|
||||
|
||||
use InvalidArgumentException;
|
||||
use OC;
|
||||
use OCA\TwoFactor_U2F\Db\Registration;
|
||||
use OCA\TwoFactor_U2F\Db\RegistrationMapper;
|
||||
use OCA\TwoFactorU2F\Db\Registration;
|
||||
use OCA\TwoFactorU2F\Db\RegistrationMapper;
|
||||
use OCP\ILogger;
|
||||
use OCP\IRequest;
|
||||
use OCP\ISession;
|
||||
|
|
Загрузка…
Ссылка в новой задаче