title: Middleware - Call to undefined method Illuminate\Auth\RequestGuard::handle()
body: <p>I am currently unable to protect my routes with the <a href="https://laravel.com/docs/5.4/passport#protecting-routes" rel="nofollow noreferrer">passport middleware</a>. I am using <a href="https://packagist.org/packages/dusterio/lumen-passport" rel="nofollow noreferrer">lumen-passport</a>, a package that makes Passport compatible with Lumen. When I attempt to hit the following route:</p>
  
  <pre><code>$app-&gt;get('/test', 'Game@test')-&gt;middleware('auth:api');
  </code></pre>
  
  <p>I get the following:</p>
  
  <pre><code>FatalThrowableError in AuthManager.php line 294:
  Call to undefined method Illuminate\Auth\RequestGuard::handle()
  in AuthManager.php line 294
  at AuthManager-&gt;__call('handle', array(object(Request), object(Closure), 'api')) in Pipeline.php line 148
  at Pipeline-&gt;Illuminate\Pipeline\{closure}(object(Request))
  at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  at Pipeline-&gt;Laravel\Lumen\Routing\{closure}(object(Request)) in Pipeline.php line 102
  at Pipeline-&gt;then(object(Closure)) in RoutesRequests.php line 780
  at Application-&gt;sendThroughPipeline(array('auth:api'), object(Closure)) in RoutesRequests.php line 534
  at Application-&gt;dispatch(null) in RoutesRequests.php line 475
  at Application-&gt;run() in index.php line 28
  </code></pre>
  
  <p>My <code>auth.php</code> if it helps:</p>
  
  <pre><code>'defaults' =&gt; [
      'guard' =&gt; 'api',
      'passwords' =&gt; 'users',
  ],
  'guards' =&gt; [
      'api' =&gt; [
          'driver' =&gt; 'passport',
          'provider' =&gt; 'users',
      ],
  ],
  'providers' =&gt; [
      'users' =&gt; [
          'driver' =&gt; 'eloquent',
          'model' =&gt; \App\User::class
      ]
  ],
  'passwords' =&gt; [
      //
  ],
  </code></pre>
  
  <p>The route is correct as removing the middleware redirects to the appropriate controller as expected. Any help would be greatly appreciated.</p>