StatefulGuard
interface StatefulGuard implements Guard (View source)
Methods
bool
attempt(
array $credentials = array(),
bool $remember = false,
bool $login = true)
Attempt to authenticate a user using the given credentials.
bool
once(
array $credentials = array())
Log a user into the application without sessions or cookies.
void
loginUsingId(
mixed $id,
bool $remember = false)
Log the given user ID into the application.
bool
onceUsingId(
mixed $id)
Log the given user ID into the application without sessions or cookies.
bool
viaRemember()
Determine if the user was authenticated via "remember me" cookie.
void
logout()
Log the user out of the application.
Details
at line line 15
bool
attempt(
array $credentials = array(),
bool $remember = false,
bool $login = true)
Attempt to authenticate a user using the given credentials.
at line line 23
bool
once(
array $credentials = array())
Log a user into the application without sessions or cookies.
at line line 32
void
login(
Authenticatable $user,
bool $remember = false)
Log a user into the application.
at line line 41
Authenticatable
loginUsingId(
mixed $id,
bool $remember = false)
Log the given user ID into the application.
at line line 49
bool
onceUsingId(
mixed $id)
Log the given user ID into the application without sessions or cookies.
at line line 56
bool
viaRemember()
Determine if the user was authenticated via "remember me" cookie.