|
21 | 21 | use FriendsOfHyperf\Oauth2\Server\Converter\ClientConverterInterface; |
22 | 22 | use FriendsOfHyperf\Oauth2\Server\Converter\ScopeConverter; |
23 | 23 | use FriendsOfHyperf\Oauth2\Server\Converter\ScopeConverterInterface; |
24 | | -use FriendsOfHyperf\Oauth2\Server\Factory\AuthorizationServerFactory; |
25 | 24 | use FriendsOfHyperf\Oauth2\Server\Factory\ConfigFactory; |
26 | | -use FriendsOfHyperf\Oauth2\Server\Factory\ResourceServerFactory; |
27 | 25 | use FriendsOfHyperf\Oauth2\Server\Interfaces\ConfigInterface; |
28 | 26 | use FriendsOfHyperf\Oauth2\Server\Manager\AccessTokenManagerInterface; |
29 | 27 | use FriendsOfHyperf\Oauth2\Server\Manager\AuthorizationCodeManagerInterface; |
|
50 | 48 | use FriendsOfHyperf\Oauth2\Server\Repository\RefreshTokenRepository; |
51 | 49 | use FriendsOfHyperf\Oauth2\Server\Repository\ScopeRepository; |
52 | 50 | use FriendsOfHyperf\Oauth2\Server\Repository\UserRepository; |
53 | | -use League\OAuth2\Server\AuthorizationServer; |
54 | 51 | use League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface; |
55 | 52 | use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface; |
56 | 53 | use League\OAuth2\Server\Repositories\ClientRepositoryInterface; |
57 | 54 | use League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface; |
58 | 55 | use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
59 | 56 | use League\OAuth2\Server\Repositories\ScopeRepositoryInterface; |
60 | 57 | use League\OAuth2\Server\Repositories\UserRepositoryInterface; |
61 | | -use League\OAuth2\Server\ResourceServer; |
62 | 58 |
|
63 | 59 | class ConfigProvider |
64 | 60 | { |
@@ -97,7 +93,7 @@ public function __invoke(): array |
97 | 93 | UserRepositoryInterface::class => UserRepository::class, |
98 | 94 | DeviceCodeRepositoryInterface::class => DeviceCodeRepository::class, |
99 | 95 | // factroy |
100 | | - ConfigInterface::class => ConfigFactory::class |
| 96 | + ConfigInterface::class => ConfigFactory::class, |
101 | 97 | ], |
102 | 98 | 'publish' => [ |
103 | 99 | [ |
|
0 commit comments