Отказался от использования 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
lib_oauthserver/vendor
com_oauthserver/administrator/vendor

View File

@ -10,7 +10,7 @@ abstract class ComponentHelper
if (!isset($registered)) {
/** @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();

View File

@ -2,11 +2,7 @@
"name": "webmaserskaya/lib_oauthserver",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Webmaserskaya\\Joomla\\OauthServer\\": "src/"
}
},
"homepage": "https://github.com/webmasterskaya/joomla-oauth-server",
"authors": [
{
"name": "Artem Vasilev",
@ -16,8 +12,12 @@
"minimum-stability": "stable",
"require": {
"php": "^8.0",
"league/oauth2-server": "^8.5",
"ext-openssl": "*",
"league/oauth2-server": "^8.5",
"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",
"This file is @generated automatically"
],
"content-hash": "f7d739043e749d41c66823516915439a",
"content-hash": "203520a60574e760c2e93defd127d014",
"packages": [
{
"name": "defuse/php-encryption",