2016-11-27 03:13:42 +05:30
|
|
|
<?php
|
2019-08-23 13:58:04 +05:30
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-11-27 03:13:42 +05:30
|
|
|
namespace api\components\OAuth2\Entities;
|
|
|
|
|
2019-08-23 13:58:04 +05:30
|
|
|
use League\OAuth2\Server\Entities\ScopeEntityInterface;
|
|
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
use League\OAuth2\Server\Entities\Traits\ScopeTrait;
|
|
|
|
|
|
|
|
class ScopeEntity implements ScopeEntityInterface {
|
|
|
|
use EntityTrait;
|
|
|
|
use ScopeTrait;
|
2016-11-27 03:13:42 +05:30
|
|
|
|
2019-08-23 13:58:04 +05:30
|
|
|
public function __construct(string $id) {
|
|
|
|
$this->identifier = $id;
|
2016-11-27 03:13:42 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
}
|