|
@@ -10,29 +10,16 @@ |
|
|
block discarded – undo |
|
10
|
10
|
|
|
11
|
11
|
namespace LoginCidadao\RemoteClaimsBundle\Controller; |
|
12
|
12
|
|
|
13
|
|
-use FOS\OAuthServerBundle\Security\Authentication\Token\OAuthToken; |
|
14
|
13
|
use FOS\RestBundle\Controller\Annotations as REST; |
|
15
|
|
-use JMS\Serializer\SerializationContext; |
|
16
|
14
|
use JMS\Serializer\SerializerInterface; |
|
17
|
15
|
use LoginCidadao\APIBundle\Controller\BaseController; |
|
18
|
16
|
use LoginCidadao\CoreBundle\Entity\Authorization; |
|
19
|
17
|
use LoginCidadao\CoreBundle\Entity\AuthorizationRepository; |
|
20
|
|
-use LoginCidadao\CoreBundle\LongPolling\LongPollingUtils; |
|
21
|
|
-use LoginCidadao\OAuthBundle\Model\AccessTokenManager; |
|
22
|
18
|
use LoginCidadao\OAuthBundle\Model\ClientInterface; |
|
23
|
19
|
use LoginCidadao\RemoteClaimsBundle\Model\ClaimProviderInterface; |
|
24
|
20
|
use LoginCidadao\RemoteClaimsBundle\Model\RemoteClaimAuthorizationInterface; |
|
25
|
|
-use LoginCidadao\RemoteClaimsBundle\Model\RemoteClaimInterface; |
|
26
|
21
|
use LoginCidadao\RemoteClaimsBundle\Model\RemoteClaimManagerInterface; |
|
27
|
22
|
use Symfony\Component\HttpFoundation\Request; |
|
28
|
|
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
29
|
|
-use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
|
30
|
|
-use LoginCidadao\CoreBundle\Model\PersonInterface; |
|
31
|
|
-use LoginCidadao\OAuthBundle\Model\ClientUser; |
|
32
|
|
-use LoginCidadao\APIBundle\Security\Audit\Annotation as Audit; |
|
33
|
|
-use LoginCidadao\APIBundle\Entity\LogoutKey; |
|
34
|
|
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
35
|
|
-use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
36
|
23
|
|
|
37
|
24
|
class RemoteClaimController extends BaseController |
|
38
|
25
|
{ |