@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\ServerBundle\Tests\TestBundle\Controller; |
15 | 15 | |
16 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
17 | 16 | use OAuth2Framework\ServerBundle\Annotation\OAuth2; |
17 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
18 | 18 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
19 | 19 | use Symfony\Component\HttpFoundation\JsonResponse; |
20 | 20 | use Symfony\Component\HttpFoundation\Response; |
@@ -37,13 +37,13 @@ |
||
37 | 37 | use Jose\Component\Signature\JWSTokenSupport; |
38 | 38 | use Jose\Component\Signature\JWSVerifier; |
39 | 39 | use Jose\Component\Signature\Serializer\CompactSerializer; |
40 | +use OAuth2Framework\Component\ClientAuthentication\AuthenticationMethodManager; |
|
41 | +use OAuth2Framework\Component\ClientAuthentication\ClientAssertionJwt; |
|
40 | 42 | use OAuth2Framework\Component\Core\Client\Client; |
41 | 43 | use OAuth2Framework\Component\Core\Client\ClientId; |
42 | 44 | use OAuth2Framework\Component\Core\DataBag\DataBag; |
43 | 45 | use OAuth2Framework\Component\Core\Exception\OAuth2Exception; |
44 | 46 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
45 | -use OAuth2Framework\Component\ClientAuthentication\AuthenticationMethodManager; |
|
46 | -use OAuth2Framework\Component\ClientAuthentication\ClientAssertionJwt; |
|
47 | 47 | use OAuth2Framework\Component\TrustedIssuer\TrustedIssuer; |
48 | 48 | use OAuth2Framework\Component\TrustedIssuer\TrustedIssuerRepository; |
49 | 49 | use PHPUnit\Framework\TestCase; |
@@ -19,6 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @param Authorization $authorization |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function check(Authorization $authorization); |
24 | 25 | } |
@@ -13,16 +13,16 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\AuthorizationEndpoint; |
15 | 15 | |
16 | -use OAuth2Framework\Component\AuthorizationEndpoint\ParameterChecker\ParameterCheckerManager; |
|
17 | -use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountCheckerManager; |
|
18 | -use Psr\Http\Server\RequestHandlerInterface; |
|
19 | -use Psr\Http\Server\MiddlewareInterface; |
|
20 | 16 | use OAuth2Framework\Component\AuthorizationEndpoint\ConsentScreen\ExtensionManager; |
21 | 17 | use OAuth2Framework\Component\AuthorizationEndpoint\Exception\OAuth2AuthorizationException; |
18 | +use OAuth2Framework\Component\AuthorizationEndpoint\ParameterChecker\ParameterCheckerManager; |
|
19 | +use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountCheckerManager; |
|
22 | 20 | use OAuth2Framework\Component\AuthorizationEndpoint\UserAccount\UserAccountDiscovery; |
23 | 21 | use OAuth2Framework\Component\Core\Exception\OAuth2Exception; |
24 | 22 | use Psr\Http\Message\ResponseInterface; |
25 | 23 | use Psr\Http\Message\ServerRequestInterface; |
24 | +use Psr\Http\Server\MiddlewareInterface; |
|
25 | +use Psr\Http\Server\RequestHandlerInterface; |
|
26 | 26 | |
27 | 27 | abstract class AuthorizationEndpoint implements MiddlewareInterface |
28 | 28 | { |