bool once(array $credentials = array()) Log a user into the application without sessions or cookies. Parameters array $credentials Return Value bool
void logout() Log the user out of the application. Return Value void
Authenticatable loginUsingId(mixed $id, bool $remember = false) Log the given user ID into the application. Parameters mixed $id bool $remember Return Value Authenticatable
void login(Authenticatable $user, bool $remember = false) Log a user into the application. Parameters Authenticatable $user bool $remember Return Value void
int|null id() Get the ID for the currently authenticated user. Return Value int|null
bool guest() Determine if the current user is a guest. Return Value bool
bool check() Determine if the current user is authenticated. Return Value bool
bool attempt(array $credentials = array(), bool $remember = false, bool $login = true) Attempt to authenticate a user using the given credentials. Parameters array $credentials bool $remember bool $login Return Value bool
StatefulGuard interface StatefulGuard implements Guard (View source) Methods bool check() Determine if the current user is authenticated. from Guard bool guest() Determine if the current user is a guest. from Guard Authenticatable|null user() Get the currently authenticated user. from Guard int|null id() Get the ID for the currently authenticated user. from Guard bool validate(array $credentials = array()) Validate a user's credentials. from Guard void setUser(Authenti
void __construct(SessionManager $manager) Create a new session middleware. Parameters SessionManager $manager Return Value void
Page 120 of 996