GuardHelpers
trait GuardHelpers (View source)
These methods are typically the same across all guards.
Properties
| protected Authenticatable | $user | The currently authenticated user. | |
| protected UserProvider | $provider | The user provider implementation. | 
Methods
| Authenticatable |  authenticate()  Determine if the current user is authenticated.  |  |
| bool |  check()  Determine if the current user is authenticated.  |  |
| bool |  guest()  Determine if the current user is a guest.  |  |
| int|null |  id()  Get the ID for the currently authenticated user.  |  |
| $this |  setUser(Authenticatable $user)  Set the current user.  |  
Details
Authenticatable authenticate()
Determine if the current user is authenticated.
bool check()
Determine if the current user is authenticated.
bool guest()
Determine if the current user is a guest.
int|null id()
Get the ID for the currently authenticated user.
$this setUser(Authenticatable $user)
Set the current user.
    © Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
    https://laravel.com/api/5.3/Illuminate/Auth/GuardHelpers.html