title: How to do auth without database in Laravel 5.6?
body: <p>I have to make default login in Laravel with: <code>php artisan make:auth</code> and I want to add 1 more authentication with API. In this auth API I don't need database for login. </p>
  
  <p>Is there any solution for this case? </p>
  
  <p>I want to make custom provider and guard it but I am stuck at <code>AlumniAuthProvider.php</code> on <code>App\Auth</code>: </p>
  
  <pre><code>&lt;?php
  
  namespace App\Auth;
  
  use Illuminate\Contracts\Auth\User as UserContract;
  use Illuminate\Contracts\Auth\Authenticatable;
  use Illuminate\Contracts\Auth\UserProvider;
  use App\Auth\User;
  
  class AlumniAuthProvider implements UserProvider {
  
      public function alumni()
      {           
      }
  
      public function retrieveById($identifier)
      {
      }
  
      public function retrieveByToken($identifier, $token)
      {
      }
  
      public function updateRememberToken(Authenticatable $user, $token)
      {
      }
  
      public function retrieveByCredentials(array $credentials)
      {
      }
  
      public function validateCredentials(Authenticatable $user, array $credentials)
      {       
      }
  }
  </code></pre>
  
  <p>and <code>Alumni.php</code> on <code>App\Auth</code>:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Auth;
  
  use Illuminate\Contracts\Auth\Authenticatable;
  use Illuminate\Http\Request;
  
  class Alumni implements Authenticatable
  {
      public function getAuthIdentifierName()
      {
      }
      /**
       * Get the unique identifier for the user.
       *
       * @return mixed
       */
      public function getAuthIdentifier()
      {
      }
  
      /**
       * Get the password for the user.
       *
       * @return string
       */
      public function getAuthPassword()
      {        
      }
  
      /**
       * Get the token value for the "remember me" session.
       *
       * @return string
       */
      public function getRememberToken()
      {
      }
  
      /**
       * Set the token value for the "remember me" session.
       *
       * @param  string  $value
       * @return void
       */
      public function setRememberToken($value)
      {
      }
  
      /**
       * Get the column name for the "remember me" token.
       *
       * @return string
       */
      public function getRememberTokenName()
      {
      }
  }
  </code></pre>
  
  <p>How could I make this custom API login?</p>
  
  <p>In my opinion this code, which I made, is for second auth, or am I wrong? Maybe is there any other way to solve this problem?</p>