_JEXEC & copyright

This commit is contained in:
Artem Vasilev 2024-03-09 19:02:02 +03:00
parent e8db3b1dae
commit f53892aac5
6 changed files with 73 additions and 18 deletions

View File

@ -1,4 +1,11 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Site\Entity;
@ -7,6 +14,8 @@ use League\OAuth2\Server\Entities\Traits\AccessTokenTrait;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
use League\OAuth2\Server\Entities\Traits\TokenEntityTrait;
\defined('_JEXEC') or die;
class AccessToken implements AccessTokenEntityInterface
{
use AccessTokenTrait;

View File

@ -1,4 +1,11 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Site\Entity;
@ -7,6 +14,8 @@ use League\OAuth2\Server\Entities\Traits\AuthCodeTrait;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
use League\OAuth2\Server\Entities\Traits\TokenEntityTrait;
\defined('_JEXEC') or die;
class AuthCode implements AuthCodeEntityInterface
{
use AuthCodeTrait;

View File

@ -1,4 +1,11 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Site\Entity;
@ -6,6 +13,8 @@ use League\OAuth2\Server\Entities\ClientEntityInterface;
use League\OAuth2\Server\Entities\Traits\ClientTrait;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
\defined('_JEXEC') or die;
class Client implements ClientEntityInterface
{
use ClientTrait;

View File

@ -1,4 +1,11 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Site\Entity;
@ -6,6 +13,8 @@ use League\OAuth2\Server\Entities\RefreshTokenEntityInterface;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
use League\OAuth2\Server\Entities\Traits\RefreshTokenTrait;
\defined('_JEXEC') or die;
class RefreshToken implements RefreshTokenEntityInterface
{
use EntityTrait;

View File

@ -1,10 +1,19 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Site\Entity;
use League\OAuth2\Server\Entities\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
\defined('_JEXEC') or die;
final class Scope implements ScopeEntityInterface
{
use EntityTrait;
@ -32,6 +41,7 @@ final class Scope implements ScopeEntityInterface
/**
* @param string $description
*
* @since version
*/
public function setDescription(string $description): void

View File

@ -1,10 +1,19 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Site\Entity;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
use League\OAuth2\Server\Entities\UserEntityInterface;
\defined('_JEXEC') or die;
class User implements UserEntityInterface
{
use EntityTrait;