title: Laravel passport ( can`t understand)
body: <p>I read a lot of articles and watched a lot of videos about Laravel passport but still can not understand some things.</p>
  
  <p>I have an application which works with Laravel 5.5 + vueJs. All requests to the back-end are sent via axios. All my routes are located in api.php</p>
  
  <pre><code>Route::middleware('api')-&gt;group(function(){
  
      Route::get('/prepare/', 'CompgenApiController@prepareDefault');
  
      Route::post('/replace/', 'CompgenApiController@replaceImage');
  
      Route::get('/replaceall/', 'CompgenApiController@replaceAllImages');
  
      Route::get('/collage/', 'CompgenApiController@collage'); //@todo переделать на POST
  
      Route::get('/generate/', 'CompgenApiController@generate');
  
      Route::post('/upload/', 'CompgenApiController@userUpload');
  
      Route::post('/reupload/', 'CompgenApiController@moderationReupload');
  
  });
  </code></pre>
  
  <p>Also I have a VK bot that sends requests to the same routes. 
  At the moment I have some difficulties. For some routes, I need to check that the user is authorized (but this is an optional condition) and if it is true I need to write user id to the database. For me it was a surprise that </p>
  
  <blockquote>
    <p>Auth :: check</p>
  </blockquote>
  
  <p>returned false though I was authorized. After some searches I learned that the session that starts after authorization is not connected with the API and I was recommended to use Passport. I can not understand the following things</p>
  
  <ol>
  <li><p>Do I need to use a passport if requests are sent from my application from vueJs?</p></li>
  <li><p>How to register users? Do I have to issue my token for each new user?</p></li>
  <li><p>How can I verify that the user is authorized?</p></li>
  <li><p>In some cases I need to check that the user is authorized but if it is not so then do not interfere with the request. How can I do that?</p></li>
  </ol>
  
  <p>Maybe in my case I do not need a passport at all?</p>