@@ -3,15 +3,14 @@ |
||
3 | 3 | namespace SMartins\PassportMultiauth\Http\Middleware; |
4 | 4 | |
5 | 5 | use Closure; |
6 | +use Illuminate\Auth\AuthenticationException; |
|
7 | +use Illuminate\Auth\CreatesUserProviders; |
|
6 | 8 | use Illuminate\Http\Request; |
7 | -use Illuminate\Support\Collection; |
|
8 | 9 | use Illuminate\Support\Facades\App; |
10 | +use League\OAuth2\Server\Exception\OAuthServerException; |
|
9 | 11 | use League\OAuth2\Server\ResourceServer; |
10 | -use Illuminate\Auth\CreatesUserProviders; |
|
11 | -use Illuminate\Auth\AuthenticationException; |
|
12 | -use SMartins\PassportMultiauth\ProviderRepository; |
|
13 | 12 | use SMartins\PassportMultiauth\Guards\GuardChecker; |
14 | -use League\OAuth2\Server\Exception\OAuthServerException; |
|
13 | +use SMartins\PassportMultiauth\ProviderRepository; |
|
15 | 14 | use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory; |
16 | 15 | |
17 | 16 | class ConfigAccessTokenCustomProvider |