title: How to use the auth:api middleware for all Lumen routes?
body: <p>We have a Lumen installation with the Tymon Jwt -package and it’s working fine when we implement the middleware in the routes file, by using “auth:api” as the middleware name. </p>
  
  <p>However we would like to add that middleware to all routes automatically and only whitelist a couple of routes to skip it. How is it done? Other global middlewares are installed in bootstrap/app.php but we can’t find the correct class to call if we want to use the auth:api -middleware. </p>
  
  <p>I guess it’s quite simple but can’t find it. </p>