mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2026-03-16 11:12:10 +03:00
Structure init
This commit is contained in:
commit
e08f89aaef
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.idea
|
||||
lib_oauthserver/vendor
|
||||
13
com_oauthserver/administrator/services/provider.php
Normal file
13
com_oauthserver/administrator/services/provider.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use Joomla\DI\ServiceProviderInterface;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
return new class implements ServiceProviderInterface {
|
||||
|
||||
public function register(\Joomla\DI\Container $container)
|
||||
{
|
||||
// TODO: Implement register() method.
|
||||
}
|
||||
};
|
||||
36
com_oauthserver/administrator/src/Extension/Component.php
Normal file
36
com_oauthserver/administrator/src/Extension/Component.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Webmasterskaya\Component\OauthServer\Administrator\Extension;
|
||||
|
||||
use Joomla\CMS\Association\AssociationServiceInterface;
|
||||
use Joomla\CMS\Association\AssociationServiceTrait;
|
||||
use Joomla\CMS\Component\Router\RouterServiceInterface;
|
||||
use Joomla\CMS\Component\Router\RouterServiceTrait;
|
||||
use Joomla\CMS\Extension\BootableExtensionInterface;
|
||||
use Joomla\CMS\Extension\MVCComponent;
|
||||
use Joomla\CMS\HTML\HTMLRegistryAwareTrait;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
\defined('JPATH_PLATFORM') or die;
|
||||
|
||||
class Component extends MVCComponent implements
|
||||
BootableExtensionInterface, AssociationServiceInterface, RouterServiceInterface
|
||||
{
|
||||
use AssociationServiceTrait;
|
||||
use HTMLRegistryAwareTrait;
|
||||
use RouterServiceTrait;
|
||||
|
||||
/**
|
||||
* Booting the extension. This is the function to set up the environment of the extension like
|
||||
* registering new class loaders, etc.
|
||||
*
|
||||
*
|
||||
* @param \Psr\Container\ContainerInterface $container The container
|
||||
*
|
||||
* @throws \Exception
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function boot(ContainerInterface $container): void
|
||||
{
|
||||
}
|
||||
}
|
||||
21
lib_oauthserver/composer.json
Normal file
21
lib_oauthserver/composer.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "webmaserskaya/lib_oauthserver",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Webmaserskaya\\Joomla\\OauthServer\\": "src/"
|
||||
}
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||