original_string: public static function addJwt(JwtAuth $jwt) {
      return function (callable $handler) use ($jwt) {
        return function (
          RequestInterface $request,
          array $options
        ) use (
          $handler,
          $jwt
        ) {
          $request = $request->withHeader('Authorization', 'Bearer ' . $jwt->generateToken());
          return $handler($request, $options);
        };
      };
    }
code: public static function addJwt(JwtAuth $jwt) {
      return function (callable $handler) use ($jwt) {
        return function (
          RequestInterface $request,
          array $options
        ) use (
          $handler,
          $jwt
        ) {
          $request = $request->withHeader('Authorization', 'Bearer ' . $jwt->generateToken());
          return $handler($request, $options);
        };
      };
    }
code_tokens: public static function addJwt ( JwtAuth $ jwt ) { return function ( callable $ handler ) use ( $ jwt ) { return function ( RequestInterface $ request , array $ options ) use ( $ handler , $ jwt ) { $ request = $ request -> withHeader ( 'Authorization' , 'Bearer ' . $ jwt -> generateToken ( ) ) ; return $ handler ( $ request , $ options ) ; } ; } ; }
docstring: Guzzle middleware to add a header to outgoing requests.
  
  @param \Drupal\jwt\Authentication\Provider\JwtAuth $jwt
  JWT.
docstring_tokens: Guzzle middleware to add a header to outgoing requests .