title: Laravel Multiple Auth::attempt
body: <p>I have two models in my laravel v5.4 project, user and admin.</p>
  
  <p>In config/auth.php i added admin to guards and providers as below :</p>
  
  <pre><code>'guards' =&gt; [
  
      'web' =&gt; [
          'driver' =&gt; 'session',
          'provider' =&gt; 'users',
      ],
  
      'api' =&gt; [
          'driver' =&gt; 'token',
          'provider' =&gt; 'users',
      ],
  
      'admin' =&gt; [
          'driver' =&gt; 'session',
          'provider' =&gt; 'admins',
      ],
  ],
  
  
  'providers' =&gt; [
  
      'users' =&gt; [
          'driver' =&gt; 'eloquent',
          'model' =&gt; App\Models\User::class,
      ],
  
      'admins' =&gt; [
          'driver' =&gt; 'eloquent',
          'model' =&gt; App\Models\Admin::class,
      ],
  ],
  </code></pre>
  
  <p>Now in AdminController class i want to use Auth::attempt function but by default it uses the users table. I can change defaults in config/auth.php as below and it works but in this case i can not use Auth::attempt for users.</p>
  
  <pre><code>'defaults' =&gt; [
      'guard' =&gt; 'admin',
      'passwords' =&gt; 'users',
  ],
  </code></pre>
  
  <p>I want to set user as default but use Auth::attempt function for admin with a method like Auth::attempt('admin',[credentials]). How can i use Auth::attempt for Admin model?</p>