HTTP/OAuth2/Controller/AuthorizeController.php
authorEdward <edward@roojs.com>
Thu, 3 Jul 2014 05:45:03 +0000 (13:45 +0800)
committerEdward <edward@roojs.com>
Thu, 3 Jul 2014 05:45:03 +0000 (13:45 +0800)
HTTP/OAuth2/Controller/AuthorizeController.php

index ee5c635..4b259f4 100755 (executable)
@@ -181,14 +181,14 @@ class HTTP_OAuth2_Controller_AuthorizeController implements HTTP_OAuth2_Controll
         // Select the redirect URI
         $response_type = $request->query('response_type');
         $state = $request->query('state');
-
+print_r('run');exit;
         // type and client_id are required
         if (!$response_type || !in_array($response_type, $this->getValidResponseTypes())) {
             $response->setRedirect($this->config['redirect_status_code'], $redirect_uri, $state, 'invalid_request', 'Invalid or missing response type', null);
 
             return false;
         }
-        print_r('run');exit;
+        
         if ($response_type == self::RESPONSE_TYPE_AUTHORIZATION_CODE) {
             if (!isset($this->responseTypes['code'])) {
                 $response->setRedirect($this->config['redirect_status_code'], $redirect_uri, $state, 'unsupported_response_type', 'authorization code grant type not supported', null);