interface
Illuminate
/
Contracts
/
Auth
/
StatefulGuard
You are viewing an older version of the documentation. For the latest, please visit master documentation.
StatefulGuard
Methods
public
attempt ( array $credentials , $remember ) : bool
Attempt to authenticate a user using the given credentials.
Parameters
- $credentials array
- $remember bool
public
once ( array $credentials ) : bool
Log a user into the application without sessions or cookies.
Parameters
- $credentials array
public
login ( Authenticatable $user , $remember ) : void
Log a user into the application.
Parameters
- $user Authenticatable
- $remember bool
public
loginUsingId ( $id , $remember ) : Authenticatable |bool
Log the given user ID into the application.
Parameters
- $id mixed
- $remember bool
public
onceUsingId ( $id ) : Authenticatable |bool
Log the given user ID into the application without sessions or cookies.
Parameters
- $id mixed
public
viaRemember ( ) : bool
Determine if the user was authenticated via "remember me" cookie.
public
logout ( ) : void
Log the user out of the application.