From e042b2544d49a9239b918476e70a8b3e44dc0a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Thu, 5 May 2022 14:59:47 +0200 Subject: [PATCH] [2FA] added robthree/twofactorauth dependency. --- composer.json | 3 ++- composer.lock | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c58bd10..f54e6c9 100644 --- a/composer.json +++ b/composer.json @@ -53,7 +53,8 @@ "laminas/laminas-log": "^2.11", "laminas/laminas-i18n": "^2.9", "symfony/console": "^5.0", - "laminas/laminas-dependency-plugin": "^2.0" + "laminas/laminas-dependency-plugin": "^2.0", + "robthree/twofactorauth": "^1.8" }, "require-dev": { "roave/security-advisories": "dev-master", diff --git a/composer.lock b/composer.lock index 361a3b7..bdd6f96 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3d6d241a9d4b1a683900cf5c4a61093f", + "content-hash": "72d71f8018457c8642f895529ecd5da3", "packages": [ { "name": "brick/math", @@ -5612,6 +5612,76 @@ }, "time": "2020-05-09T13:59:05+00:00" }, + { + "name": "robthree/twofactorauth", + "version": "1.8.2", + "source": { + "type": "git", + "url": "https://github.com/RobThree/TwoFactorAuth.git", + "reference": "65681de5a324eae05140ac58b08648a60212afc0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/RobThree/TwoFactorAuth/zipball/65681de5a324eae05140ac58b08648a60212afc0", + "reference": "65681de5a324eae05140ac58b08648a60212afc0", + "shasum": "" + }, + "require": { + "php": ">=5.6.0" + }, + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpunit/phpunit": "@stable" + }, + "suggest": { + "bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider", + "endroid/qr-code": "Needed for EndroidQrCodeProvider" + }, + "type": "library", + "autoload": { + "psr-4": { + "RobThree\\Auth\\": "lib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Rob Janssen", + "homepage": "http://robiii.me", + "role": "Developer" + } + ], + "description": "Two Factor Authentication", + "homepage": "https://github.com/RobThree/TwoFactorAuth", + "keywords": [ + "Authentication", + "MFA", + "Multi Factor Authentication", + "Two Factor Authentication", + "authenticator", + "authy", + "php", + "tfa" + ], + "support": { + "issues": "https://github.com/RobThree/TwoFactorAuth/issues", + "source": "https://github.com/RobThree/TwoFactorAuth" + }, + "funding": [ + { + "url": "https://paypal.me/robiii", + "type": "custom" + }, + { + "url": "https://github.com/RobThree", + "type": "github" + } + ], + "time": "2022-03-22T16:11:07+00:00" + }, { "name": "symfony/config", "version": "v5.4.7",