Отказался от использования lib_oauthserver

This commit is contained in:
Artem Vasilev 2024-03-08 14:41:49 +03:00
parent 40e08b7066
commit c5a74ac9f2
4 changed files with 9 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
.idea .idea
lib_oauthserver/vendor com_oauthserver/administrator/vendor

View File

@ -10,7 +10,7 @@ abstract class ComponentHelper
if (!isset($registered)) { if (!isset($registered)) {
/** @var \Composer\Autoload\ClassLoader $loader */ /** @var \Composer\Autoload\ClassLoader $loader */
$loader = require JPATH_LIBRARIES . '/lib_oauthserver/vendor/autoload.php'; $loader = require JPATH_ADMINISTRATOR . '/components/com_oauthserver/vendor/autoload.php';
$loader->unregister(); $loader->unregister();

View File

@ -2,11 +2,7 @@
"name": "webmaserskaya/lib_oauthserver", "name": "webmaserskaya/lib_oauthserver",
"type": "library", "type": "library",
"license": "MIT", "license": "MIT",
"autoload": { "homepage": "https://github.com/webmasterskaya/joomla-oauth-server",
"psr-4": {
"Webmaserskaya\\Joomla\\OauthServer\\": "src/"
}
},
"authors": [ "authors": [
{ {
"name": "Artem Vasilev", "name": "Artem Vasilev",
@ -16,8 +12,12 @@
"minimum-stability": "stable", "minimum-stability": "stable",
"require": { "require": {
"php": "^8.0", "php": "^8.0",
"league/oauth2-server": "^8.5",
"ext-openssl": "*", "ext-openssl": "*",
"league/oauth2-server": "^8.5",
"lcobucci/jwt": "^4.3" "lcobucci/jwt": "^4.3"
},
"config": {
"optimize-autoloader": true,
"vendor-dir": "com_oauthserver/administrator/vendor"
} }
} }

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "f7d739043e749d41c66823516915439a", "content-hash": "203520a60574e760c2e93defd127d014",
"packages": [ "packages": [
{ {
"name": "defuse/php-encryption", "name": "defuse/php-encryption",