Skip to content

Commit 5ae0ce0

Browse files
committed
OXDEV-9078 Remove OAuth2 related code
1 parent b3c1dee commit 5ae0ce0

83 files changed

Lines changed: 1 addition & 3115 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
"proprietary"
1313
],
1414
"require": {
15-
"php": "^8.2",
16-
"pragmarx/google2fa": "^v8.0.3",
17-
"bacon/bacon-qr-code": "v3.0.1",
18-
"league/oauth2-google": "4.0.1",
19-
"league/oauth2-facebook": "2.2.0"
15+
"php": "^8.2"
2016
},
2117
"conflict": {
2218
"oxid-esales/oxideshop-ce": "<7.4"

metadata.php

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use OxidEsales\SecurityModule\Authentication\TwoFactorAuth\Settings\TwoFAShopSettings as TwoFactorAuthModuleSettings;
1313
use OxidEsales\SecurityModule\PasswordPolicy\Service\ModuleSettingsService as PasswordPolicyModuleSettings;
1414
use OxidEsales\SecurityModule\Captcha\Service\ModuleSettingsService as CaptchaModuleSettings;
15-
use OxidEsales\SecurityModule\Authentication\OAuth2\Service\ModuleSettingsService as OAuthModuleSettings;
1615
use OxidEsales\SecurityModule\Core\Module;
1716

1817
$sMetadataVersion = '2.1';
@@ -113,56 +112,6 @@
113112
'value' => '15min'
114113
],
115114

116-
//OAuth2 settings
117-
[
118-
'group' => 'oauth',
119-
'name' => OAuthModuleSettings::FACEBOOK_LOGIN_ENABLED,
120-
'type' => 'bool',
121-
'value' => false
122-
],
123-
[
124-
'group' => 'oauth',
125-
'name' => OAuthModuleSettings::FACEBOOK_CLIENT_ID,
126-
'type' => 'str',
127-
'value' => ''
128-
],
129-
[
130-
'group' => 'oauth',
131-
'name' => OAuthModuleSettings::FACEBOOK_CLIENT_SECRET,
132-
'type' => 'str',
133-
'value' => ''
134-
],
135-
[
136-
'group' => 'oauth',
137-
'name' => OAuthModuleSettings::FACEBOOK_REDIRECT_URL,
138-
'type' => 'str',
139-
'value' => ''
140-
],
141-
[
142-
'group' => 'oauth',
143-
'name' => OAuthModuleSettings::GOOGLE_LOGIN_ENABLED,
144-
'type' => 'bool',
145-
'value' => true
146-
],
147-
[
148-
'group' => 'oauth',
149-
'name' => OAuthModuleSettings::GOOGLE_CLIENT_ID,
150-
'type' => 'str',
151-
'value' => ''
152-
],
153-
[
154-
'group' => 'oauth',
155-
'name' => OAuthModuleSettings::GOOGLE_CLIENT_SECRET,
156-
'type' => 'str',
157-
'value' => ''
158-
],
159-
[
160-
'group' => 'oauth',
161-
'name' => OAuthModuleSettings::GOOGLE_REDIRECT_URL,
162-
'type' => 'str',
163-
'value' => ''
164-
],
165-
166115
//TwoFactorAuth settings
167116
[
168117
'group' => 'two_factor_auth',

services.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ imports:
22
- { resource: src/Captcha/services.yaml }
33
- { resource: src/PasswordPolicy/services.yaml }
44
- { resource: src/Authentication/services.yaml }
5-
- { resource: src/Shared/services.yaml }
65

76
services:
87
_defaults:

src/Authentication/OAuth2/Controller/OAuthController.php

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

src/Authentication/OAuth2/Controller/services.yaml

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

src/Authentication/OAuth2/DTO/OAuth2UserDTO.php

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

src/Authentication/OAuth2/DTO/OAuth2UserDTOInterface.php

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

src/Authentication/OAuth2/DTO/UserDTO.php

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

src/Authentication/OAuth2/DTO/UserDTOInterface.php

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

src/Authentication/OAuth2/Exception/ProviderNotActiveException.php

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

0 commit comments

Comments
 (0)