title: Retrieve a user_id from a specific guard
body: <p>I have three accounts in my application, this definitely means I have three guards. In my controller when I do this :</p>
  
  <pre><code> dd($apartment-&gt;user_id = Auth::id());
  </code></pre>
  
  <p>I get the users user_id from the users table. I would like to get the user_id from the agents table whose guard I have named agent. I try this : </p>
  
  <pre><code>dd($apartment-&gt;user_id = Auth::agent()-&gt;id);
  </code></pre>
  
  <p>and I get this error :</p>
  
  <p>Call to undefined method Illuminate\Auth\SessionGuard::agent(). </p>
  
  <p>Does anyone know how I can correctly point to my desired guard?</p>