Completed
Pull Request — 0.2.x (#14)
by
unknown
35:21 queued 16:59
created
Controller/SsoAuthenticationController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /**
12 12
      * 
13
-     * @param type $request
13
+     * @param Request $request
14 14
      * @return \Symfony\Component\HttpFoundation\JsonResponse
15 15
      * @throws type
16 16
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
5 5
 use Symfony\Component\HttpFoundation\Request;
6
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
7
-use Symfony\Component\HttpFoundation\RedirectResponse;
8 6
 
9 7
 class SsoAuthenticationController extends Controller
10 8
 {
Please login to merge, or discard this patch.
DependencyInjection/KrtvSingleSignOnServiceProviderExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Config\FileLocator;
7 7
 use Symfony\Component\DependencyInjection\Alias;
8 8
 use Symfony\Component\DependencyInjection\ContainerBuilder;
9
-use Symfony\Component\DependencyInjection\DefinitionDecorator;
10 9
 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
11 10
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
12 11
 use Symfony\Component\DependencyInjection\Reference;
Please login to merge, or discard this patch.
Krtv/Bundle/SingleSignOnServiceProviderBundle/Security/Http/UriSigner.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return $this->computeHash($this->buildUrl($url, $params)) === $hash;
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $uri
76
+     */
74 77
     private function computeHash($uri)
75 78
     {
76 79
         return urlencode(base64_encode(hash_hmac('sha256', $uri, $this->secret, true)));
Please login to merge, or discard this patch.