@@ -5,7 +5,6 @@ |
||
5 | 5 | use ByTIC\Hello\Models\AccessTokens\Token; |
6 | 6 | use ByTIC\Hello\Models\Clients\Client; |
7 | 7 | use ByTIC\Hello\Utility\ModelsHelper; |
8 | -use Firebase\JWT\JWT; |
|
9 | 8 | use League\OAuth2\Server\AuthorizationServer; |
10 | 9 | use Lcobucci\JWT\Parser as JwtParser; |
11 | 10 | use Nip\Container\Container; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use ByTIC\Hello\Models\AccessTokens\Token; |
6 | 6 | use ByTIC\Hello\Models\Clients\PersonalAccess\TokenFactory; |
7 | -use ByTIC\Hello\Utility\ModelsHelper; |
|
8 | 7 | use Nip\Container\Container; |
9 | 8 | |
10 | 9 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace ByTIC\Hello\Oauth\ServiceProvider\Traits; |
4 | 4 | |
5 | -use ByTIC\Hello\Utility\ConfigHelper; |
|
6 | 5 | use ByTIC\Hello\Utility\CryptHelper; |
7 | 6 | use League\OAuth2\Server\CryptKey; |
8 | 7 |
@@ -3,20 +3,7 @@ |
||
3 | 3 | namespace ByTIC\Hello\Tests; |
4 | 4 | |
5 | 5 | use ByTIC\Hello\HelloServiceProvider; |
6 | -use ByTIC\Hello\Utility\ConfigHelper; |
|
7 | -use ByTIC\Hello\Utility\ModelsHelper; |
|
8 | -use League\OAuth2\Server\AuthorizationServer; |
|
9 | -use Mockery as m; |
|
10 | -use Nip\Config\Config; |
|
11 | 6 | use Nip\Container\Container; |
12 | - |
|
13 | -use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface; |
|
14 | -use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface; |
|
15 | -use League\OAuth2\Server\Repositories\ClientRepositoryInterface; |
|
16 | -use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
|
17 | -use League\OAuth2\Server\Repositories\ScopeRepositoryInterface; |
|
18 | -use League\OAuth2\Server\Repositories\UserRepositoryInterface; |
|
19 | -use Nip\Records\RecordManager; |
|
20 | 7 | use Nip\Request; |
21 | 8 | use Nip\Router\Router; |
22 | 9 |
@@ -7,8 +7,6 @@ |
||
7 | 7 | use ByTIC\Hello\Models\Clients\Client; |
8 | 8 | use ByTIC\Hello\Tests\AbstractTest; |
9 | 9 | use ByTIC\Hello\Tests\Fixtures\Models\Users\User; |
10 | -use Nip\Database\Adapters\MySQLi; |
|
11 | -use Nip\Database\Connections\Connection; |
|
12 | 10 | use Nip\Database\Query\Condition\AndCondition; |
13 | 11 | use Nip\Database\Query\Select; |
14 | 12 | use Nip\Records\Collections\Collection; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use ByTIC\Hello\Models\Users\Logins\UsersLogin; |
6 | 6 | use ByTIC\Hello\Models\Users\Traits\UsersTrait; |
7 | 7 | use ByTIC\Hello\Models\Users\Traits\UserTrait; |
8 | -use Nip\Records\Locator\ModelLocator; |
|
9 | 8 | use Nip\Records\RecordManager; |
10 | 9 | |
11 | 10 | /** |