Completed
Pull Request — master (#873)
by Lukáš
02:02
created

AccessTokenTrait::getUserIdentifier()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
nc 1
1
<?php
2
/**
3
 * @author      Alex Bilbie <[email protected]>
4
 * @copyright   Copyright (c) Alex Bilbie
5
 * @license     http://mit-license.org/
6
 *
7
 * @link        https://github.com/thephpleague/oauth2-server
8
 */
9
10
namespace League\OAuth2\Server\Entities\Traits;
11
12
use League\OAuth2\Server\Entities\ClientEntityInterface;
13
use League\OAuth2\Server\Entities\ScopeEntityInterface;
14
15
trait AccessTokenTrait
16
{
17
    /**
18
     * @return ClientEntityInterface
19
     */
20
    abstract public function getClient();
21
22
    /**
23
     * @return \DateTime
24
     */
25
    abstract public function getExpiryDateTime();
26
27
    /**
28
     * @return string|int
29
     */
30
    abstract public function getUserIdentifier();
31
32
    /**
33
     * @return ScopeEntityInterface[]
34
     */
35
    abstract public function getScopes();
36
}
37