Basics of auth

This commit is contained in:
2026-01-01 10:32:17 -05:00
parent 23f2b6432b
commit 9f895bbb85
66 changed files with 5967 additions and 156 deletions

View File

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace Siteworxpro\App\OAuth\Entities;
use League\OAuth2\Server\Entities\ScopeEntityInterface;
use League\OAuth2\Server\Entities\Traits\ScopeTrait;
use Siteworxpro\App\Models\Model;
/**
* Class Scope
* @package Siteworxpro\App\Models
*
* @property string $id
* @property string $name
* @property string $description
*/
class Scope extends Model implements ScopeEntityInterface
{
use ScopeTrait;
public function getIdentifier(): string
{
return $this->name;
}
}