original_string: private function check_signature($consumerkey, $secret, $body) {
  
          $ok = true;
          try {
              // TODO: Switch to core oauthlib once implemented - MDL-30149.
              lti\handle_oauth_body_post($consumerkey, $secret, $body);
          } catch (\Exception $e) {
              debugging($e->getMessage() . "\n");
              $ok = false;
          }
  
          return $ok;
  
      }
code: private function check_signature($consumerkey, $secret, $body) {
  
          $ok = true;
          try {
              // TODO: Switch to core oauthlib once implemented - MDL-30149.
              lti\handle_oauth_body_post($consumerkey, $secret, $body);
          } catch (\Exception $e) {
              debugging($e->getMessage() . "\n");
              $ok = false;
          }
  
          return $ok;
  
      }
code_tokens: private function check_signature ( $ consumerkey , $ secret , $ body ) { $ ok = true ; try { // TODO: Switch to core oauthlib once implemented - MDL-30149. lti \ handle_oauth_body_post ( $ consumerkey , $ secret , $ body ) ; } catch ( \ Exception $ e ) { debugging ( $ e -> getMessage ( ) . "\n" ) ; $ ok = false ; } return $ ok ; }
docstring: Check the request signature.
  
  @param string $consumerkey    Consumer key
  @param string $secret         Shared secret
  @param string $body           Request body
  
  @return boolean
docstring_tokens: Check the request signature .