1 | <?php |
||
7 | class OAuth2 extends DingoOAuth2 |
||
8 | { |
||
9 | /** |
||
10 | * @return \League\OAuth2\Server\ResourceServer |
||
11 | */ |
||
12 | public function getResource() |
||
16 | |||
17 | /** |
||
18 | * @return \League\OAuth2\Server\Entity\AccessTokenEntity |
||
19 | */ |
||
20 | public function getAccessToken() |
||
24 | |||
25 | /** |
||
26 | * @return \League\OAuth2\Server\Entity\SessionEntity |
||
27 | */ |
||
28 | public function getSession() |
||
32 | |||
33 | /** |
||
34 | * Get the resource owner ID of the current request. |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getResourceOwnerId() |
||
42 | |||
43 | /** |
||
44 | * Get the resource owner type of the current request (client or user). |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getResourceOwnerType() |
||
52 | |||
53 | /** |
||
54 | * Get the client of the current request. |
||
55 | * |
||
56 | * @return \League\OAuth2\Server\Entity\ClientEntity |
||
57 | */ |
||
58 | public function getClient() |
||
62 | |||
63 | /** |
||
64 | * Get the client id of the current request. |
||
65 | * |
||
66 | * @return string |
||
67 | */ |
||
68 | public function getClientId() |
||
72 | } |
||
73 |