private function getOauthRequest(common_http_Request $request) {
        $params = array();
        
        $params = array_merge($params, $request->getParams());
        //$params = array_merge($params, $request->getHeaders());
        \common_Logger::d("OAuth Request created:".$request->getUrl()." using ".$request->getMethod());
        $oauthRequest = new OAuthRequest($request->getMethod(), $request->getUrl(), $params);
        return $oauthRequest;
    }
private function getOauthRequest(common_http_Request $request) {
        $params = array();
        
        $params = array_merge($params, $request->getParams());
        //$params = array_merge($params, $request->getHeaders());
        \common_Logger::d("OAuth Request created:".$request->getUrl()." using ".$request->getMethod());
        $oauthRequest = new OAuthRequest($request->getMethod(), $request->getUrl(), $params);
        return $oauthRequest;
    }
private function getOauthRequest ( common_http_Request $ request ) { $ params = array ( ) ; $ params = array_merge ( $ params , $ request -> getParams ( ) ) ; //$params = array_merge($params, $request->getHeaders()); \ common_Logger :: d ( "OAuth Request created:" . $ request -> getUrl ( ) . " using " . $ request -> getMethod ( ) ) ; $ oauthRequest = new OAuthRequest ( $ request -> getMethod ( ) , $ request -> getUrl ( ) , $ params ) ; return $ oauthRequest ; }
Transform common_http_Request into an OAuth request
@param common_http_Request $request
@return \IMSGlobal\LTI\OAuth\OAuthRequest
Transform common_http_Request into an OAuth request