src/Core/LTIX.php
public static function oauth_parameters() {
        // Find request headers
        $request_headers = OAuthUtil::get_headers();

        // Parse the query-string to find GET parameters
        if ( isset($_SERVER['QUERY_STRING']) ) {
            $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
        } else {
            $parameters = array();
        }

        // Add POST Parameters if they exist
        $parameters = array_merge($parameters, $_POST);

        // We have a Authorization-header with OAuth data. Parse the header
        // and add those overriding any duplicates from GET or POST
        if (isset($request_headers['Authorization']) &&
            substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
            $header_parameters = OAuthUtil::split_header(
                $request_headers['Authorization']
            );
            $parameters = array_merge($parameters, $header_parameters);
        }
        return $parameters;
    }
public static function oauth_parameters() {
        // Find request headers
        $request_headers = OAuthUtil::get_headers();

        // Parse the query-string to find GET parameters
        if ( isset($_SERVER['QUERY_STRING']) ) {
            $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
        } else {
            $parameters = array();
        }

        // Add POST Parameters if they exist
        $parameters = array_merge($parameters, $_POST);

        // We have a Authorization-header with OAuth data. Parse the header
        // and add those overriding any duplicates from GET or POST
        if (isset($request_headers['Authorization']) &&
            substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
            $header_parameters = OAuthUtil::split_header(
                $request_headers['Authorization']
            );
            $parameters = array_merge($parameters, $header_parameters);
        }
        return $parameters;
    }
public static function oauth_parameters ( ) { // Find request headers $ request_headers = OAuthUtil :: get_headers ( ) ; // Parse the query-string to find GET parameters if ( isset ( $ _SERVER [ 'QUERY_STRING' ] ) ) { $ parameters = OAuthUtil :: parse_parameters ( $ _SERVER [ 'QUERY_STRING' ] ) ; } else { $ parameters = array ( ) ; } // Add POST Parameters if they exist $ parameters = array_merge ( $ parameters , $ _POST ) ; // We have a Authorization-header with OAuth data. Parse the header // and add those overriding any duplicates from GET or POST if ( isset ( $ request_headers [ 'Authorization' ] ) && substr ( $ request_headers [ 'Authorization' ] , 0 , 6 ) == "OAuth " ) { $ header_parameters = OAuthUtil :: split_header ( $ request_headers [ 'Authorization' ] ) ; $ parameters = array_merge ( $ parameters , $ header_parameters ) ; } return $ parameters ; }
The LTI parameter data

This code is taken from OAuthRequest
The LTI parameter data