@@ -15,8 +15,8 @@ |
||
15 | 15 | |
16 | 16 | use OAuth2Framework\Component\Core\AccessToken\AccessToken; |
17 | 17 | use OAuth2Framework\Component\Core\AccessToken\AccessTokenId; |
18 | -use OAuth2Framework\Component\Core\AccessToken\AccessTokenRepository; |
|
19 | 18 | use OAuth2Framework\Component\Core\AccessToken\AccessTokenIntrospectionTypeHint; |
19 | +use OAuth2Framework\Component\Core\AccessToken\AccessTokenRepository; |
|
20 | 20 | use OAuth2Framework\Component\Core\Client\ClientId; |
21 | 21 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
22 | 22 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
@@ -13,12 +13,12 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\ClientAuthentication\Tests; |
15 | 15 | |
16 | +use OAuth2Framework\Component\ClientAuthentication\AuthenticationMethodManager; |
|
17 | +use OAuth2Framework\Component\ClientAuthentication\ClientSecretBasic; |
|
16 | 18 | use OAuth2Framework\Component\Core\Client\Client; |
17 | 19 | use OAuth2Framework\Component\Core\Client\ClientId; |
18 | 20 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
19 | 21 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
20 | -use OAuth2Framework\Component\ClientAuthentication\AuthenticationMethodManager; |
|
21 | -use OAuth2Framework\Component\ClientAuthentication\ClientSecretBasic; |
|
22 | 22 | use PHPUnit\Framework\TestCase; |
23 | 23 | use Psr\Http\Message\ServerRequestInterface; |
24 | 24 |
@@ -13,11 +13,11 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\OpenIdConnect\UserInfo; |
15 | 15 | |
16 | +use OAuth2Framework\Component\Core\Client\Client; |
|
17 | +use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
|
16 | 18 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\ClaimSource\ClaimSourceManager; |
17 | 19 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\Pairwise\PairwiseSubjectIdentifierAlgorithm; |
18 | 20 | use OAuth2Framework\Component\OpenIdConnect\UserInfo\ScopeSupport\UserInfoScopeSupportManager; |
19 | -use OAuth2Framework\Component\Core\Client\Client; |
|
20 | -use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
|
21 | 21 | |
22 | 22 | class UserInfo |
23 | 23 | { |
@@ -14,17 +14,17 @@ |
||
14 | 14 | namespace OAuth2Framework\ServerBundle\Controller; |
15 | 15 | |
16 | 16 | use Http\Message\MessageFactory; |
17 | -use OAuth2Framework\Component\AuthorizationEndpoint\ParameterChecker\ParameterCheckerManager; |
|
18 | -use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountCheckerManager; |
|
19 | -use OAuth2Framework\ServerBundle\Form\FormFactory; |
|
20 | -use OAuth2Framework\ServerBundle\Form\Handler\AuthorizationFormHandler; |
|
21 | -use OAuth2Framework\ServerBundle\Form\Model\AuthorizationModel; |
|
22 | 17 | use OAuth2Framework\Component\AuthorizationEndpoint\Authorization; |
23 | 18 | use OAuth2Framework\Component\AuthorizationEndpoint\AuthorizationEndpoint; |
24 | 19 | use OAuth2Framework\Component\AuthorizationEndpoint\AuthorizationRequestLoader; |
25 | 20 | use OAuth2Framework\Component\AuthorizationEndpoint\ConsentScreen\ExtensionManager; |
26 | 21 | use OAuth2Framework\Component\AuthorizationEndpoint\Exception\ProcessAuthorizationException; |
22 | +use OAuth2Framework\Component\AuthorizationEndpoint\ParameterChecker\ParameterCheckerManager; |
|
23 | +use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountCheckerManager; |
|
27 | 24 | use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountDiscovery; |
25 | +use OAuth2Framework\ServerBundle\Form\FormFactory; |
|
26 | +use OAuth2Framework\ServerBundle\Form\Handler\AuthorizationFormHandler; |
|
27 | +use OAuth2Framework\ServerBundle\Form\Model\AuthorizationModel; |
|
28 | 28 | use Psr\Http\Message\ResponseInterface; |
29 | 29 | use Psr\Http\Message\ServerRequestInterface; |
30 | 30 | use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use OAuth2Framework\Component\AuthorizationEndpoint\ResponseMode\ResponseMode; |
17 | 17 | use OAuth2Framework\Component\Core\Client\Client; |
18 | 18 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServer; |
19 | -use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
|
20 | 19 | use OAuth2Framework\Component\Core\TokenType\TokenType; |
20 | +use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
|
21 | 21 | |
22 | 22 | class Authorization |
23 | 23 | { |
@@ -21,10 +21,10 @@ |
||
21 | 21 | use OAuth2Framework\Component\Core\Client\Client; |
22 | 22 | use OAuth2Framework\Component\Core\Client\ClientId; |
23 | 23 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
24 | +use OAuth2Framework\Component\Core\TokenType\TokenType; |
|
24 | 25 | use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
25 | 26 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
26 | 27 | use OAuth2Framework\Component\ImplicitGrant\TokenResponseType; |
27 | -use OAuth2Framework\Component\Core\TokenType\TokenType; |
|
28 | 28 | use PHPUnit\Framework\TestCase; |
29 | 29 | use Prophecy\Argument; |
30 | 30 |
@@ -13,14 +13,14 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\RefreshTokenGrant\Tests; |
15 | 15 | |
16 | -use OAuth2Framework\Component\RefreshTokenGrant\RefreshToken; |
|
17 | -use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenId; |
|
18 | -use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenRepository; |
|
19 | -use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenRevocationTypeHint; |
|
20 | 16 | use OAuth2Framework\Component\Core\Client\ClientId; |
21 | 17 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
22 | 18 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
23 | 19 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
20 | +use OAuth2Framework\Component\RefreshTokenGrant\RefreshToken; |
|
21 | +use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenId; |
|
22 | +use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenRepository; |
|
23 | +use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenRevocationTypeHint; |
|
24 | 24 | use OAuth2Framework\Component\TokenIntrospectionEndpoint\TokenTypeHint; |
25 | 25 | use PHPUnit\Framework\TestCase; |
26 | 26 | use Prophecy\Argument; |
@@ -15,7 +15,6 @@ discard block |
||
15 | 15 | |
16 | 16 | use Http\Message\MessageFactory\DiactorosMessageFactory; |
17 | 17 | use Http\Message\ResponseFactory; |
18 | -use Psr\Http\Server\RequestHandlerInterface; |
|
19 | 18 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServer; |
20 | 19 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
21 | 20 | use OAuth2Framework\Component\Core\Token\Token; |
@@ -24,6 +23,7 @@ discard block |
||
24 | 23 | use OAuth2Framework\Component\TokenIntrospectionEndpoint\TokenTypeHintManager; |
25 | 24 | use PHPUnit\Framework\TestCase; |
26 | 25 | use Psr\Http\Message\ServerRequestInterface; |
26 | +use Psr\Http\Server\RequestHandlerInterface; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @group TokenIntrospectionEndpoint |
@@ -13,8 +13,11 @@ discard block |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\AuthorizationCodeGrant\Tests; |
15 | 15 | |
16 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCode; |
|
16 | 17 | use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeId; |
18 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeIdGenerator; |
|
17 | 19 | use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeRepository; |
20 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeResponseType; |
|
18 | 21 | use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\PKCEMethodManager; |
19 | 22 | use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\Plain; |
20 | 23 | use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\S256; |
@@ -22,9 +25,6 @@ discard block |
||
22 | 25 | use OAuth2Framework\Component\Core\Client\Client; |
23 | 26 | use OAuth2Framework\Component\Core\Client\ClientId; |
24 | 27 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
25 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCode; |
|
26 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeResponseType; |
|
27 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeIdGenerator; |
|
28 | 28 | use OAuth2Framework\Component\Core\UserAccount\UserAccount; |
29 | 29 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
30 | 30 | use PHPUnit\Framework\TestCase; |