@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * Find the Token for passed id. |
70 | 70 | * |
71 | - * @param mixed $tokenId The id of the token. |
|
71 | + * @param string $tokenId The id of the token. |
|
72 | 72 | * |
73 | 73 | * @return AccessTokenModel |
74 | 74 | */ |
@@ -8,14 +8,12 @@ |
||
8 | 8 | use DateInterval; |
9 | 9 | use Exception; |
10 | 10 | use GuzzleHttp\Psr7\Response; |
11 | -use GuzzleHttp\Psr7\ServerRequest; |
|
12 | 11 | use League\OAuth2\Server\AuthorizationServer; |
13 | 12 | use League\OAuth2\Server\Grant\ClientCredentialsGrant; |
14 | 13 | use Robbie\Psr7\HttpRequestAdapter; |
15 | 14 | use Robbie\Psr7\HttpResponseAdapter; |
16 | 15 | use SilverStripe\Control\Controller; |
17 | 16 | use SilverStripe\Control\Director; |
18 | -use SilverStripe\Control\HTTPRequest; |
|
19 | 17 | use SilverStripe\Control\HTTPResponse; |
20 | 18 | use SilverStripe\Core\Environment; |
21 | 19 |