@@ -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 |
@@ -15,12 +15,12 @@ |
||
15 | 15 | |
16 | 16 | use OAuth2Framework\Component\Core\Client\ClientId; |
17 | 17 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
18 | +use OAuth2Framework\Component\Core\Domain\DomainObject; |
|
18 | 19 | use OAuth2Framework\Component\Core\Event\Event; |
19 | 20 | use OAuth2Framework\Component\Core\Id\Id; |
20 | -use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenId; |
|
21 | 21 | use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwnerId; |
22 | 22 | use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
23 | -use OAuth2Framework\Component\Core\Domain\DomainObject; |
|
23 | +use OAuth2Framework\Component\RefreshTokenGrant\RefreshTokenId; |
|
24 | 24 | |
25 | 25 | class RefreshTokenCreatedEvent extends Event |
26 | 26 | { |
@@ -15,11 +15,11 @@ |
||
15 | 15 | |
16 | 16 | use OAuth2Framework\Component\Core\Client\Event as ClientEvent; |
17 | 17 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
18 | +use OAuth2Framework\Component\Core\Domain\DomainObject; |
|
18 | 19 | use OAuth2Framework\Component\Core\Event\Event; |
19 | -use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwnerId; |
|
20 | 20 | use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwner; |
21 | +use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwnerId; |
|
21 | 22 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
22 | -use OAuth2Framework\Component\Core\Domain\DomainObject; |
|
23 | 23 | use SimpleBus\Message\Recorder\ContainsRecordedMessages; |
24 | 24 | use SimpleBus\Message\Recorder\PrivateMessageRecorderCapabilities; |
25 | 25 |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -13,19 +13,19 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\AuthorizationCodeGrant\Tests; |
15 | 15 | |
16 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCode; |
|
17 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeGrantType; |
|
18 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeId; |
|
19 | +use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeRepository; |
|
16 | 20 | use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\PKCEMethodManager; |
17 | 21 | use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\Plain; |
18 | 22 | use OAuth2Framework\Component\AuthorizationCodeGrant\PKCEMethod\S256; |
19 | 23 | use OAuth2Framework\Component\Core\Client\Client; |
20 | 24 | use OAuth2Framework\Component\Core\Client\ClientId; |
21 | 25 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
22 | -use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
|
23 | 26 | use OAuth2Framework\Component\Core\Message\OAuth2Message; |
27 | +use OAuth2Framework\Component\Core\ResourceServer\ResourceServerId; |
|
24 | 28 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
25 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCode; |
|
26 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeGrantType; |
|
27 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeId; |
|
28 | -use OAuth2Framework\Component\AuthorizationCodeGrant\AuthorizationCodeRepository; |
|
29 | 29 | use OAuth2Framework\Component\TokenEndpoint\GrantTypeData; |
30 | 30 | use PHPUnit\Framework\TestCase; |
31 | 31 | use Prophecy\Argument; |