void setUser(Authenticatable $user) Set the current user. Parameters Authenticatable $user Return Value void
Authenticatable|null user() Get the currently authenticated user. Return Value Authenticatable|null
bool check() Determine if the current user is authenticated. Return Value bool
Authenticatable loginUsingId(mixed $id, bool $remember = false) Log the given user ID into the application. Parameters mixed $id bool $remember Return Value Authenticatable
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
bool guest() Determine if the current user is a guest. Return Value bool
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
void terminate(Request $request, Response $response) Perform any final actions for the request lifecycle. Parameters Request $request Response $response Return Value void
void __construct(SessionManager $manager) Create a new session middleware. Parameters SessionManager $manager Return Value void
Page 120 of 996