StatefulGuard::once()

bool once(array $credentials = array()) Log a user into the application without sessions or cookies. Parameters array $credentials Return Value bool

StatefulGuard::logout()

void logout() Log the user out of the application. Return Value void

StatefulGuard::loginUsingId()

Authenticatable loginUsingId(mixed $id, bool $remember = false) Log the given user ID into the application. Parameters mixed $id bool $remember Return Value Authenticatable

StatefulGuard::login()

void login(Authenticatable $user, bool $remember = false) Log a user into the application. Parameters Authenticatable $user bool $remember Return Value void

StatefulGuard::id()

int|null id() Get the ID for the currently authenticated user. Return Value int|null

StatefulGuard::guest()

bool guest() Determine if the current user is a guest. Return Value bool

StatefulGuard::check()

bool check() Determine if the current user is authenticated. Return Value bool

StatefulGuard::attempt()

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

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

StartSession::__construct()

void __construct(SessionManager $manager) Create a new session middleware. Parameters SessionManager $manager Return Value void