original_string: public function checkForToken(Request $request)
      {
          if (! $this->auth->parser()->setRequest($request)->hasToken()) {
              throw new UnauthorizedHttpException('jwTauth', 'Token not provided');
          }
      }
code: public function checkForToken(Request $request)
      {
          if (! $this->auth->parser()->setRequest($request)->hasToken()) {
              throw new UnauthorizedHttpException('jwTauth', 'Token not provided');
          }
      }
code_tokens: public function checkForToken ( Request $ request ) { if ( ! $ this -> auth -> parser ( ) -> setRequest ( $ request ) -> hasToken ( ) ) { throw new UnauthorizedHttpException ( 'jwTauth' , 'Token not provided' ) ; } }
docstring: Check the request for the presence of a token.
  
  @param  \Illuminate\Http\Request  $request
  
  @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException
  
  @return void
docstring_tokens: Check the request for the presence of a token .