title: Laravel 5.2: session and token guard on the same routes
body: <p>We had session guard and that was enough.</p>
  
  <p>Now we need to add authorization via token (in headers or GET params) and via session <strong>on the same routes</strong>.</p>
  
  <p>Authorization via token must be stateless.</p>
  
  <p>UPD: 
  First, we think about create dubplicate routes.
  One for session and one for token</p>
  
  <pre><code>// api token auth
  // url: /api/test
  Route::group(['middleware' =&gt; ['web', 'auth:api'], 'prefix' =&gt; 'api', 'as' =&gt; 'api.'], function () {
      Route::resource('test', 'TestController');
      // 50+ routes
  });
  
  // session auth
  // url: /test
  Route::group(['middleware' =&gt; ['web', 'auth']], function () {
      Route::resource('test', 'TestController');
      // 50+ routes
  });
  </code></pre>
  
  <p>but it's not what we want, because urls are different.</p>
  
  <p>Maybe somebody knows how to solve this issue?</p>