aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/OAuth2/Bridge/UserEntity.php
blob: 02ba52ffaf07bf4379f35b36c12e5c044ff0a85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace Studip\OAuth2\Bridge;

use League\OAuth2\Server\Entities\Traits\EntityTrait;
use League\OAuth2\Server\Entities\UserEntityInterface;

class UserEntity implements UserEntityInterface
{
    use EntityTrait;

    public function __construct(string $identifier)
    {
        $this->setIdentifier($identifier);
    }
}