Skip to content

Commit 3c33589

Browse files
committed
OXDEV-9078 Remove unused EmailAdapter
Signed-off-by: Anton Fedurtsya <anton@fedurtsya.com>
1 parent b489589 commit 3c33589

6 files changed

Lines changed: 13 additions & 119 deletions

File tree

src/Authentication/TwoFactorAuth/Infrastructure/Provider/Email/EmailAdapter.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/Authentication/TwoFactorAuth/Infrastructure/Provider/NotifierAdapterInterface.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/Authentication/TwoFactorAuth/Infrastructure/Provider/services.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
imports:
22
- { resource: Factory/services.yaml }
3-
- { resource: Provider/services.yaml }
43
- { resource: Repository/services.yaml }
54
- { resource: Service/services.yaml }

tests/Integration/ServiceAvailabilityTest.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,27 @@ public static function serviceAvailabilityDataProvider(): array
4343
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Factory\TwoFAServiceFactoryInterface::class],
4444

4545
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Service\TwoFAServiceInterface::class],
46+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Service\TwoFAUserServiceInterface::class],
47+
48+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Settings\TwoFASettingsInterface::class],
49+
50+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Transput\AuthCodeRequestInterface::class],
51+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Transput\JsonResponseInterface::class],
52+
53+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Infrastructure\Factory\EmailFactoryInterface::class],
54+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Infrastructure\Factory\UserFactoryInterface::class],
55+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Infrastructure\Factory\UserModelFactoryInterface::class],
56+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Infrastructure\Repository\UserRepositoryInterface::class],
57+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Infrastructure\Service\UserLoginAdapterInterface::class],
4658

4759
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Infrastructure\Repository\OtpChallengeStateRepositoryInterface::class],
4860
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Service\OtpChallengeStateServiceInterface::class],
4961
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Service\OtpCodeValidatorServiceInterface::class],
5062
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Service\OtpCodeGeneratorServiceInterface::class],
5163
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Service\OtpCodeHasherServiceInterface::class],
52-
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Settings\TwoFASettingsInterface::class],
64+
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Service\OtpSendPolicyServiceInterface::class],
5365
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Notifier\OtpNotifierInterface::class],
5466
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Notifier\Factory\OtpNotifierFactoryInterface::class],
55-
[\OxidEsales\SecurityModule\Authentication\TwoFactorAuth\OTP\Service\OtpSendPolicyServiceInterface::class],
5667
];
5768
// phpcs:enable
5869
}

tests/Unit/Authentication/TwoFactorAuth/Infrastructure/Provider/Email/EmailAdapterTest.php

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)