2016-11-27 00:43:42 +03:00
|
|
|
<?php
|
2019-08-23 11:28:04 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2016-11-27 00:43:42 +03:00
|
|
|
namespace api\components\OAuth2\Entities;
|
|
|
|
|
2019-08-23 11:28:04 +03:00
|
|
|
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 00:43:42 +03:00
|
|
|
|
2019-08-23 11:28:04 +03:00
|
|
|
public function __construct(string $id) {
|
|
|
|
$this->identifier = $id;
|
2016-11-27 00:43:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|