1 | <?php |
||
19 | class OAuth2Token extends AbstractToken |
||
20 | { |
||
21 | /** |
||
22 | * @var AccessToken |
||
23 | */ |
||
24 | private $accessToken; |
||
25 | |||
26 | public function __construct(AccessToken $accessToken) |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getToken(): string |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getTokenType(): string |
||
47 | |||
48 | /** |
||
49 | * @return AccessToken |
||
50 | */ |
||
51 | public function getAccessToken(): AccessToken |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getClientId(): string |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getResourceOwnerId(): string |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function getCredentials() |
||
79 | } |
||
80 |