mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
Отказался от использования lib_oauthserver
This commit is contained in:
parent
40e08b7066
commit
c5a74ac9f2
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
.idea
|
||||
lib_oauthserver/vendor
|
||||
com_oauthserver/administrator/vendor
|
@ -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();
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
2
lib_oauthserver/composer.lock → composer.lock
generated
2
lib_oauthserver/composer.lock → composer.lock
generated
@ -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",
|
Loading…
Reference in New Issue
Block a user